lol
 
 
 
 
 
 
Go to file
John Montagu, the 4th Earl of Sandvich 3a10668f40
Add README.md
2024-11-06 20:56:55 -08:00
availabili.tf Add Dockerfile for frontend 2024-11-06 20:56:45 -08:00
backend-flask Add backend stuff 2024-11-06 20:56:21 -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