mirror of
https://github.com/dat515-2025/Group-8.git
synced 2026-03-22 06:57:47 +01:00
920 B
920 B
Backend
This directory contains the backend code for the project. It is built using Python and FastAPI framework and with database migrations support using Alembic.
Directory structure
alembic/- database migrationsapp/- main application codeapi/- API endpoints - routers/controllers with request handling logiccore/- core application logic - database session management, securitymodels/- database modelsschemas/- Endpoint schemasservices/- utilities for various tasksworkers/- background tasksapp.py- FastAPI startup scriptcelery_app.py- Celery startup script
tests/- testsdocker-compose.test.yml- docker compose for testing databaseDockerfile- production Dockerfilemain.py- App entrypointrequirements.txt- Python dependenciestest_locally.sh- script to run tests with temporary database