Create an endpoint POST /lobby that creates a new lobby
A lobby has an owner
A list of members
A song list
When a user wants to create a lobby, they will click a button that calls the /lobby request with their userId as a parameter to the request.
The backend then needs to create a lobby with the userId marked as the manager and as the first member in the list. This lobby needs to have a 16 digit hash that hasn't been used yet. We can do this by hashing a combination of the userId + time + retryNumber.
Return the hash to the user.
[ ] :wave: I may be able to implement this feature request
Create an endpoint
POST /lobby
that creates a new lobbyWhen a user wants to create a lobby, they will click a button that calls the
/lobby
request with theiruserId
as a parameter to the request.The backend then needs to create a lobby with the
userId
marked as the manager and as the first member in the list. This lobby needs to have a 16 digit hash that hasn't been used yet. We can do this by hashing a combination of theuserId + time + retryNumber
.Return the hash to the user.
This is a :rocket: Feature Request