run this command to start the backend
python manage.py runserver
open in
URL configuration defined in game/urls.py
/admin/
: Django admin panel accessible for site administration.- username:
admin
- email:
admin@ut.ee
- password:
admin
- username:
/game/
: Endpoint for game-related functionalities./__debug__/
: Debugging endpoint for debugging purposes.
/game/join
POST
nickname
(string): The nickname of the player.role
(string): The role the player wants to assume in the game (e.g., "hider" or "seeker").roomId
(string): The ID of the room the player wants to join.
{
"nickname": "Paul",
"role": "hider",
"roomId": "Caladan"
}