- FastAPI
- Hatch
- PostgreSQL
- async SQLAlchemy + Alembic
- docker compose
- special Docker and docker compose setup for WritIt.ai
- Hatch
docker compose up -dhatch run makemigrationshatch run migratehatch 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.Dockerfilefor Dockerfile/writeitai.compose.ymlfor docker compose filecd src && python -m pytestfor Command for running unit teststests/test_endpoint.pyfor Test File