Skip to content

Frontend Routes

jmthorn edited this page Apr 4, 2021 · 22 revisions

User-facing routes

Log in page

/login

This page displays a log in form

  • GET /login
  • POST /login

Sign up page

/signup

This page displays a signup form.

  • GET /signup
  • POST /signup

Homepage

/home

This page displays a collection of books for the user to browse, as well as navigation to the user's bookshelves and profile.

  • GET /home

MyBookshelf

/bookshelves

This page displays all books that have been added to an individual bookshelf.

  • GET /bookshelf/:id

Book Page

/books/:id

This page displays individual book with associated comments, as well as a navigation bar with login/signup or logout buttons. Logged in users can comment on this page and can update or delete their comments.

  • GET /books/:id
  • POST /books/:id

User Profile

/users/:id

This page displays an individual user's profile, with the ability to edit or delete the profile account page.

  • GET /users/:id
  • POST /users/:id

Clone this wiki locally