- FastAPI
- Hatch
- PostgreSQL
- async SQLAlchemy + Alembic
- docker compose
- special Docker and docker compose setup for WritIt.ai
- Hatch
docker compose up -d
hatch run makemigrations
hatch run migrate
hatch run runserver
- database:
docker compose up -d
- development server:
hatch run runserver
- unit tests:
hatch run test:unit
- generate migrations:
hatch run makemigrations
- apply migrations:
hatch run migrate
The WriteIt.ai docker setup expects following:
/writeitai.Dockerfile
for Dockerfile/writeitai.compose.yml
for docker compose filecd src && python -m pytest
for Command for running unit teststests/test_endpoint.py
for Test File