-
Notifications
You must be signed in to change notification settings - Fork 1
Frontend Routes
jmthorn edited this page Apr 5, 2021
·
22 revisions
This page displays a log in form
Backend routes included:
GET /loginPOST /login
This page displays a signup form.
Backend routes included:
GET /signupPOST /signup
This page displays a collection of books for the user to browse, as well as navigation to the user's bookshelves and profile.
Backend routes included:
GET /homeGET /booksPOST /books
This page displays all books that have been added to an individual bookshelf.
Backend routes included:
GET /bookshelves/:idPOST /bookshelvesGET /books/:idPUT /books/:idDELETE /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.
Backend routes included:
GET /books/:idPUT /books/:idDELETE /books/:idGET /books/:id/reviewsPOST /books/:id/reviewsPUT /books/:id/reviews/:idDELETE /books/:id/reviews/:idGET /books/:id/tagsPOST /books/:id/tagsPUT /books/:id/tags/:idDELETE /books/:id/tags/:id-
GET /books/:id/users/:id/readstatus? POST /books/:id/readstatusPUT /books/:id/readstatus/:idDELETE /books/:id/readstatus/:id
This page displays an individual user's profile, with the ability to edit or delete the profile account page.
Backend routes included:
GET /users/:idPATCH /users/:idDELETE /users/:id