John Montagu, the 4th Earl of Sandvich
71cc25dbb2
Refactor the team integrations structure to use one-to-one relationships for Discord and logs.tf integrations. Update the frontend to handle the new structure and remove unused integration types. Adjust backend endpoints and models accordingly. Add migration scripts to update the database schema. |
||
---|---|---|
availabili.tf | ||
backend-flask | ||
nginx | ||
.gitignore | ||
README.md | ||
docker-compose.yml |
README.md
availabili.tf
Scheduling for TF2
Tech Stack
- Frontend: Vue 3 + TypeScript
- State Management: Pinia
- Backend: Flask + Python
- ORM: SQLAlchemy
- Validation: Pydantic
- spectree for OpenAPI documentation
- Flask-Migrate (Alembic) for database migrations
- Database: PostgreSQL 17.1 (production) / SQLite (development)
Setup (dev)
docker compose up
App will run at port 8000.
OpenAPI
The backend will automatically serve its OpenAPI-compliant spec at
/apidoc/openapi.json
which can also be viewed at /apidoc/redoc
or
/apidoc/swagger
or /apidoc/scalar
.
To generate the frontend client:
npm run openapi-generate