This project is a minimal FastAPI baseplate designed for simple API applications that do not require persistent data storage. The goal is to provide a streamlined, quick-to-deploy FastAPI environment, enabling you to focus on building your API without extensive setup. For a more advanced web application stack, check out DSDD.
- Easy API Development: Designed to simplify building and deploying APIs with FastAPI.
- Live Development Mode: Edit files in the
appdirectory, and the app will automatically reload without restarting the container.
-
Clone the repository.
-
From the directory containing your
docker-compose.ymlfile, run the following command to build and start the containers:docker compose up -d --build
-
Stop the Containers: Stops and removes the containers.
docker compose down
-
View Logs: Shows logs for all running containers (useful for debugging).
docker compose logs -f