Skip to content

Join a Session

deh3nne edited this page Mar 1, 2021 · 1 revision

The user clicks the button "Join Session"

  1. Request to NextJS Api with information (sessionId, userName, userId)
  • Information is also stored in the browser (local storage?)
  1. Request to Serverless Function to join a new session
  • with information (sessionId, userName, userId)
  • maybe creates a valid JWT token for server and client
  1. Serverless Function searches for the session in the database
  • Looks for an existing session and return the sessionId if present
Clone this wiki locally