-
Notifications
You must be signed in to change notification settings - Fork 0
Join a Session
deh3nne edited this page Mar 1, 2021
·
1 revision
The user clicks the button "Join Session"
- Request to NextJS Api with information (sessionId, userName, userId)
- Information is also stored in the browser (local storage?)
- Request to Serverless Function to join a new session
- with information (sessionId, userName, userId)
- maybe creates a valid JWT token for server and client
- Serverless Function searches for the session in the database
- Looks for an existing session and return the sessionId if present