Host live quizzes freely
This is the backend component. It can be run with:
cargo run
This will open a server listening to port 8080.
POST /add
Parameter | Type | Description |
---|---|---|
config |
FuizConfig |
Required. Config as defined in src/game_manager/fuiz/config.rs |
options |
FuizOptions |
Required. Options as defined in src/game_manager/game.rs |
{
"game_id" : string,
"watcher_id" : string
}
GET /alive/:gameid
true | false;
GET /watch/:gameid
This establishes a websocket connection. #TODO: documenting websocket messages.
While you could host this yourself, a live version exists on api.fuiz.us. Its status can be checked on: status.fuiz.us.