lol
 
 
 
 
 
 
Go to file
John Montagu, the 4th Earl of Sandvich 13e9bf390b
Remove flask_cors and flask_pydantic
2024-11-07 18:03:08 -08:00
availabili.tf Add timezone-aware schedule window 2024-11-07 18:02:17 -08:00
backend-flask Remove flask_cors and flask_pydantic 2024-11-07 18:03:08 -08:00
.gitignore Implement some basic features 2024-11-02 12:33:27 -07:00
README.md Add README.md 2024-11-06 20:56:55 -08:00
docker-compose.yml Initial commit 2024-10-23 16:14:47 -07:00

README.md

availabili.tf

Scheduling for TF2

Setup (dev)

Frontend

# first time setup
npm install

npm run dev

Backend

In virtual environment:

# first time setup
pip install -r requirements.txt
flask db migrate

flask run --debug

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:

npx openapi --input 'http://localhost:5000/apidoc/openapi.json' --output src/client