A minimal async-ready FastAPI template with Docker support.
- Git
- Docker + Docker Compose (recommended)
git clone https://github.com/khasanjon-dev/FastApi-Template-Async.git
cd FastApi-Template-Async- Create a
.envfile. - Copy values from
.env.exampleand adjust them for your environment.
docker compose up --build
docker compose up -d --buildWhen the project is running, open Swagger UI here:
- Swagger UI: http://localhost:8000/docs
- ReDoc: http://localhost:8000/redoc
- OpenAPI JSON: http://localhost:8000/openapi.json
This project exposes its endpoints via Swagger UI.
To see the full and up-to-date list of APIs:
- Run the project (Docker or local).
- Open: http://localhost:8000/docs
docker compose downdocker compose logs -f