Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 539 Bytes

File metadata and controls

10 lines (6 loc) · 539 Bytes

Requirements: Use the boilerplate to start a new application named bookmarks-server

Configure logging and API key handling middleware on the server

Write a route handler for the endpoint GET /bookmarks that returns a list of bookmarks

Write a route handler for the endpoint GET /bookmarks/:id that returns a single bookmark with the given ID, return 404 Not Found if the ID is not valid

Write a route handler for POST /bookmarks that accepts a JSON object representing a bookmark and adds it to the list of bookmarks after validation.