Light node js server providing rest api for some games
Endpoint | Description |
---|---|
GET /api/score/max | |
GET /api/score/top | |
GET /api/score/level/(level)/max | |
GET /api/score/player/(playername)/max | |
PUT /api/score | { "playername": "player1", "player": "skin1", "level": 1, "score": 7732 } |
POST /api/score/reset | { "securitycheck": "password"} |
Name | Description | Example |
---|---|---|
CORS | Manage Cross-origin resource sharing | http://game.ultimateplateform.v1kings.io |
PORT | Server port | 7312 |
CONTEXTROOT | URL context root | /api |
DATA_DIR | Directory to store dabase file | data/ |
PASSWORD | Password used ti reset all score | game_keeper |