Fast API Clean Architecture template with docker, nginx, postgres, pgadmin4
Run below commands to your terminal
COPY .env.example .env #copy sample env to .env
docker-compose up --build #build and spin docker containers
make migrate-up # to migrate migrations
- API DOCS : http://localhost/docs
- PGADMIN4: http://localhost:5050
Check Makefile
for available commands
- Docker
- postgres
- nginx
- pgadmin4
- Dependency injection
- SqlAlchemy as ORM
- Poetry to manage python packages
- Alembic for migrations
- pydantic data validation
- User model
- User authentication
- Exception handling
- CORS middlware
- Error handling