Features
Provide the following features as first argument in an string array.
Stable
(mandatory) NAME | DESCRIPTION | ENVIRONMENT (CHORSCORE_..) |
---|
(x) cors | Enable cors | ORIGIN_HOST, ORIGIN_PORT |
(x) health | Enable health endpoint | - |
(x) tasks | Enable tasks endpoints | - |
(x) teams | Enable team endpoints | - |
(x) users | Enable user endpoints | - |
admin | Add admin on startup | ADMIN_CODE, ADMIN_USER |
analytics | Enable error and issue tracking | - |
assets | Load the asset folder via gin server | ASSETS_DIR |
auth | Enable authentication route /api/auth | - |
changelog | Provide the changelog via gin route | CHANGELOGS_DIR |
competitions | Enable competitions endpoints | - |
cookie+basic_auth | Provide cookie with new route to handle session | COOKIE_NAME, BASIC_USER, BASIC_USER_PW |
docs | Load the docs page via gin route | DOCS_DIR |
features | Enable voting and feature request | - |
issues | Enable issue tracking | - |
manual | Load the manual videos via gin server route | MANUALS_DIR |
moderator | Add moderator on startup | MODERATOR_CODE, MODERATOR_USER |
rules | Enable rules and rulesets endpoints | - |
search | Search the Redis DB as admin | - |
themes | Enable themes endpoints | - |
Experimental
(mandatory) NAME | DESCRIPTION | ENVIRONMENT |
---|
csrf | Provide CSRF protection | - |
awards | Enable awards and award condition endpoints | - |
migration | Version the redis data to the deployed version | - |
oauth2 | Enable oauth2 login with Github provider | GITUB_SECRET_ID |
proxy | Enable oauth2-proxy user converation to new user | - |
ws | Enable websockets | - |