Frontend Routes - sjstark/booth-it GitHub Wiki

Routes that return an HTML page that the user can interact with.

/

  • App entrypoint, unprotected
  • Navigation bar, with links to Login and Signup

/shows

  • Main landing page after authentication, Protected
  • Has a list of active or upcoming public shows
  • Allows users to navigate to individual shows

/shows/<hashedId>

  • A route to individual shows, Protected
  • <hashedId> Is used to prevent users from accessing private shows
  • Has a list view of all booths (or truncated list)
  • Allows users to navigate to individual booths

/shows/<hashedId>/booths/<hashedId>

  • A route to the details page of a booth, Protected
  • <hashedId> Is used to prevent users from accessing private shows
  • Has sections with information about the company
  • Has demo section
  • Has live messages between guests and partner

/invite?sid=<hashedShowId>&iid=<hashedInviteId>&bid=<hashedBoothId>

  • A route to invite users to be a partner on a booth
  • <hashedShowId> is a query param to the show
  • <hashedInviteId> is a query param to the invite id, this is an entry on the ShowPartners table that is used to store and validate invites and accepted invites
  • <hashedBoothId> is an optional query to the exact booth to add a partner to, allows for more than one user to collaborate on a booth.
⚠️ **GitHub.com Fallback** ⚠️