Skip to content

FrontEnd Routes

Simonvargas edited this page Aug 11, 2021 · 10 revisions

User-facing routes

/login

Log in page

This page displays a login form with a regular login option, a demo login option, and access to sign-up for an account.

  • GET /login
  • POST /login

/signup

This page displays a signup form.

Sign up page

  • GET /signup
  • POST /signup

/

If logged in, this page display the home page which is the user's dashboard/portfolio and their watchlist. If not logged in, it display information of website.

  • GET /
  • GET /sneax/:id
  • POST /watchlist
  • PUT /watchlist/:id
  • DELETE /watchlist/:id

/sneax/:id

This page display details about a specific item that was clicked on by the user.

  • GET /sneax/:id
  • POST /watch/:id
  • DELETE /watch/:id
  • POST /shares/:id
  • PUT /shares/:id
  • DELETE /shares/:id

Clone this wiki locally