🐍 Basic example of a Python & Fastapi application using Domain-Driven Design.
pip install -r requirements.txt
or pip install -r requirements-tests.txt
uvicorn src.main:app --host 0.0.0.0 --port 5000 --reload
python -m pytest
python -m pytest --cov=src
Check linters errors
ruff check src
Check format errors
ruff format -- check src
Fix imports order
ruff --fix src
Fix file format
ruff format src