FastAPI Starter: A simple and intuitive example repository showcasing basic functionality and best practices for building web APIs with FastAPI. Use this as a template or reference for accelerating your FastAPI projects
python3.12 -m venv env
source env/bin/activate
Create a .env file following the example example.env
app/config.py
has 3 sets of configurations: Test, Dev, and Prod.
touch .env
Run the following command to install dependencies. runtime.txt
specifies the runtime version used.
bash reset.sh
python run.py
We use the TestConfig
to run tests
bash test.sh