Chickenshock¶
Table of contents¶
Configuration¶
Currently, the following things can be configured.
Frontend¶
In the frontend the following properties can be configured:
getQuestionsthe URL path to the backend endpoint that returns the questionssaveRoundthe URL path to the backend endpoint that saves the results of the game roundeditorGetQuestionswhen debugging in Unity: the URL path to the backend endpoint that returns the questions for the editor.editorConfigurationwhen debugging in Unity: fixed fallback configuration ID for testingcorrectFeedbackTextthe text displayed when the player answers a question correctlywrongFeedbackTextthe text displayed when the player answers a question incorrectly
These settings can be changed in the frontend by editing the file Assets/Scripts/Properties/Chickenshock.properties.
Backend¶
The backend can be configured via environment variables.
Alternatively you can edit the file src/main/resources/application.properties.
Spring Property |
Environment variable |
Description |
Default value |
|---|---|---|---|
|
|
The kind of database you are using |
|
|
|
The URL to the database |
|
|
|
The username to connect to the database |
|
|
|
The password to connect to the database |
|
|
|
Base path for the API |
|
|
|
URL of the overworld backend service |
|
|
|
Name of the issuer used in the authentication tokens |
|
|
|
URL to connect to keycloak in order to fetch the validation keys |
|
|
|
Path to serve the API documentation |
|
A complete list of options can be seen in the backend in src/main/resources/application.properties.