Skip to content
This repository was archived by the owner on Feb 16, 2025. It is now read-only.

Latest commit

 

History

History
43 lines (31 loc) · 1.34 KB

File metadata and controls

43 lines (31 loc) · 1.34 KB

Python-15-Factor-App

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.

Getting Started

Prerequisites

  • Python
  • Pipenv
  • Docker & Docker Compose

Installation

  1. Clone the Repository
    git clone https://github.com/Scaleups-cloud/python-15-factor-app.git
    

Install Dependencies

  1. Install Pipenv
    pipenv install

Setting Up the Environment

  • Use docker-compose along with the .env file to set up the environment and database (PostgreSQL).

Accessing Application

Running Tests

  • Execute tests using the following command:
python -m unittest discover -s tests

Authentication and Authorization

  • 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.