A simple and dynamic FastAPI application seamlessly integrated with a PostgresSQL database within a Docker image.
This project template serves as a versatile starting point for various future projects, fostering easy development and scalability.
- FastAPI
- Uvicorn
- Ormar
- Pytest
- More details in
requirements.txt
$ docker-compose up -d --build # Build 🏠
-
Run tests 🧪
$ docker-compose exec web pytest .
-
Clean DB 🧹
$ docker-compose down --volumes
The server is accessible at http://127.0.0.1:8008/
By default, Swagger documentation is available. Alternatively, you can use ReDoc at http://127.0.0.1:8008/redoc
Certain internal errors will be displayed in the Docker console only.
Wishing you the best of luck! 🌟
🔥 Ilia Rodikov - [email protected] 🔥