John Montagu, the 4th Earl of Sandvich 6f49053dac | ||
---|---|---|
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