backend
- Python REST backendfrontend
- React/TypeScript Web frontend
Start development server:
cd backend
uvicorn --port 5000 --reload collages:app
Application uses alembic
tool
to work with database migrations. Although it's possible to use different
database engines the code itself heavily depends on PostgreSQL and its
features, such as arrays and enums.
cd backend
source .venv/bin/activate
# create migration
alembic revision -m <message> --autogenerate
# migrate
alembic upgrade head