Front End Routes - miguelalvinflores/jazzify GitHub Wiki

User-facing routes

/login

Log in page

This page displays a log in form

  • GET /login
  • POST /login

/signup

Sign up page

This page displays a signup form.

  • GET /signup
  • POST /signup

/

Homepage (Splash Page)

This page displays the splash page with an option to either sign-in or login an account. Moreover, the splash page would contain additional information regarding what the site could offer to its members. Logged-in users will be redirected to ```/discover`` page.

  • GET /

/discover

Discover Page

This page displays the list of available albums with which a logged-in user can listen to, as well as a navigation bar with logout buttons and user settings, and a search bar.

  • GET /discover

/search

Search Page

This page displays tracks, albums, and artists matching what the user has typed into the search bar. They could then update the list of content by changing their search terms.

  • POST /search

/albums/:albumId

View Album Page

This page displays all the tracks that belong to the selected movie. They could create a new playlist add to a playlist and like/unlike the specific track.

  • GET /albums/:albumId