Skip to content

Latest commit

 

History

History
49 lines (29 loc) · 1.04 KB

README.md

File metadata and controls

49 lines (29 loc) · 1.04 KB

Golang Voting System API

A Go API that uses websockets to handle voting

Routes

Vote

GET /vote (creates a room and enter as voter)
JSON Body Params
name type data type
option required string

/vote

GET /vote/:roomId (enters in a room as voter)
JSON Body Params
name type data type
option required string

/vote

Spectate

GET /spectate (creates a room and enter as spectator)

/vote

GET /spectate/:roomId (enters in a room as spectator)

/vote