John Montagu, the 4th Earl of Sandvich
061499b822
This allows for `@requires_team_membership()` to be able to retrieve the team_id from a JSON or query parameter. |
||
---|---|---|
availabili.tf | ||
backend-flask | ||
nginx | ||
.gitignore | ||
README.md | ||
docker-compose.yml |
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