Template for building FastAPI Asynchronous applications with PostgreSQL
- Python FastAPI backend
- POSTGRESQL Database
- Docker-Compose
- Authentification
- Migration with Alembic
- PGADMIN4 for Graphical Database Visualization
- Asynchronous
After cloning the repository, go to it.
-
DOCKER COMPOSE
docker compose up -d --build
-
RUN FRIST MIGRATION
docker compose exec app alembic revision --autogenerate -m "first migration" docker compose exec app alembic upgrade head
-
Please turn on the LISTEN Docs app.
0.0.0.0:8000/docs
-
PGADMIN4
access to pgadmin by specified db as name server and 5434 as port at localhost/5050
username: admin@gmail.com password: admin