python-15-factor-app is a Python application that serves as a practical example of implementing the 15 Factor App methodology. This methodology is designed to create efficient, scalable, and maintainable software applications.
- Python
- Pipenv
- Docker & Docker Compose
- Clone the Repository
git clone https://github.com/Scaleups-cloud/python-15-factor-app.git
- Install Pipenv
pipenv install
- Use docker-compose along with the .env file to set up the environment and database (PostgreSQL).
- Swagger Specification: Access the Swagger UI for API documentation at http://127.0.0.1:5000/swagger/
- Metrics: Access application metrics at http://127.0.0.1:5000/metrics
- Execute tests using the following command:
python -m unittest discover -s tests- Use the token generated from the authentication process to access APIs.
- Authorization details, especially for admin roles, can be found in the init_script.
License This project is licensed under the MIT License - see the LICENSE file for details.