-
Notifications
You must be signed in to change notification settings - Fork 0
Frontend Routes
muntaqam edited this page Jan 4, 2024
·
1 revision
-
Route:
/
-
Component:
HomePage
- Description: Landing page that could showcase books and recent reviews.
-
Component:
-
Route:
/users/:userId
-
Component:
UserDashboard
- Description: User profile page displaying details, reviews written by the user, and user's ratings.
-
Component:
-
Route:
/login
-
Component:
SessionForm
- Description: Page for logging in.
-
Component:
-
Route:
/signup
-
Component:
SessionForm
- Description: Page for signing up.
-
Component:
-
Route:
/books
-
Component:
BooksIndex
- Description: Lists all books.
-
Component:
-
Route:
/books/:bookId
-
Component:
BookDetail
- Description: Detailed view of a specific book, potentially showing ratings and reviews for that book.
-
Component:
-
Route:
/books/:bookId/rate
-
Component:
RatingForm
- Description: Form to rate a specific book (if not already rated).
-
Component:
-
Route:
/books/:bookId/reviews
-
Component:
ReviewIndex
- Description: List of reviews for a specific book.
-
Component:
-
Route:
/books/:bookId/reviews/new
-
Component:
ReviewForm
- Description: Form to create a new review for a specific book.
-
Component:
-
Route:
/reviews/:reviewId/edit
-
Component:
ReviewForm
- Description: Form to edit an existing review.
-
Component: