SDN302_-_PE_-_SP_2025_-_Block_5_3837.webp
Y

SDN302_-_PE_-_SP_2025_-_Block_5_3837.webp

  • Media owner Yuji99
  • Ngày thêm
☑Kizspy.me
SDN302 SP25_B5
authors
books
borrows
genres
users
B025
Using the given, build a RESTful API application that performs the requirements of the
problem:
Note: 0 will be given to the work that
- Not using connection string to MongoDB in the .env file
Not configuring the root path of
Ful API Web App at: http://localhost:9999
Zoom
- FUO
Question 1 (1.5 points) - Retrieve All Books by Genre Name
Develop a REST API to retrieve a list of books that belong to a specific genre. The genre is
specified by its name as a query parameter.
Endpoint: GET /api/books/by-genre?name=<genreName>
• Processing Requirements:
o Use Mongoose populate() to fetch full author and genre documents.
° Sort books by title in ascending order.
+ 100%
Close
Chưa có bình luận nào.

Thông tin

Category
SDN302
Thêm bởi
Yuji99
Ngày thêm
Lượt xem
1,181
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom