This project provides a web/websocket based pointing poker session.
Web socket messaging is based on the class WSMessage
. Json example:
{
"messageType": "join",
"roomId": "42c31270-6eaa-4dd7-adfc-b7c131022597",
"userId": "9f3820e1-37aa-4602-8994-2ce1da8e1e54",
"extra": "John Doe"
}
Possible values for messageType:
- "init"
- "join"
- "vote"
- "show"
- "clear"
- "leave"
roomId
and userId
should be UUID
.
extra
value depends messageType
.
Available endpoints:
Path | Method | Description |
---|---|---|
/ |
GET | Load index with frontend |
/create-room |
POST | Creates a room and returns roomId |
/websocket/[roomId]/[user-name] |
WebSocket | Creates a websocket connection and joins the user to room |
This project uses:
- Vue.js
- pekko/pekko-http