- FastAPI: Backend
- MySQL: Database
- Alembic: Database Migrations
- Poetry: Requirement Control
- Docker.
- Docker Compose.
- Poetry for Python package and environment management.
-
Create new .env file and change it
cp .env.example .env
Next change .env configs, generate new secret key with command
make generate-secret
-
Start Infra
docker-compose up -d
-
Start FastAPI App
make start-app
-
JSON based web API based on OpenAPI: http://localhost:8000/api/
-
Automatic interactive documentation with Swagger UI (from the OpenAPI backend): http://localhost:8000/docs
-
Alternative automatic documentation with ReDoc (from the OpenAPI backend): http://localhost:8000/redoc