eesa1980 / python-clean-architecture-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clean Architecture template with Python

This is a template for a Python project that attempts to follow the Clean Architecture principles.

Pre-requisites

  • Python 3.8
  • Docker
  • Docker Composer
  • Pip

Installation

Install the dependencies using the following command:

pip install -r requirements.txt

Docker dependencies:

docker-compose up -d

Starting the application

uvicorn main:app --reload --port 3000

or

python main.py

Updating the requirements file

pip freeze > requirements.txt

Troubleshooting

Uninstalling all dependencies

pip freeze | xargs pip uninstall -y

About


Languages

Language:Python 100.0%