A barebones FastAPI Template repository for creating a backend REST API server.
Several features are included in the template:
- 🖊️ Poetry Dependency Management
- 🐋 Docker Compose File
- 🧪 Testing with Pytest
- ⚡ FastAPI
To run the application in a development environment:
- Start the database with
docker-compose up
- Navigate to the
backend
directory and install the dependencies and start a python virtual enviornment by running:
poetry shell
poetry install
- Start the API server using
uvicorn main:app --reload
- Navigate to
http://localhost:8000/docs
to look through the endpoint documentation!