FastAPI boilerplate
- Create a virtual environment.
python3 -m venv .venv
- Activate virtual environment.
source /path/to/venv/bin/activate`
-
Install project dependencies
pip install -r requirements.txt
-
Create a .env file by copying the .env.sample file
cp .env.sample .env
-
Start server.
python main.py