- Python 3.x
- Docker and Docker Compose
- Make
-
Create a virtual environment in your project directory:
python -m venv .venv
-
Activate the virtual environment:
# Windows .venv\Scripts\activate # MacOS/Linux source .venv/bin/activate
python -m pip install -r requirements.txt
-
Start PostgreSQL using Docker:
docker-compose up -d
-
Seed the database:
make run-seed
Start the FastAPI server in development mode:
make run-dev
Create a .env
file in the project root with the following variables:
Variable | Description | Required | Default |
---|---|---|---|
DATABASE_URL | PostgreSQL connection string | Yes | - |