Norton Solutions FreeCodeCamp Portfolio Project
title to /api/books to add a book and returned will be the object with the title and a unique _id./api/books to retrieve an array of all books containing title, _id, & commentcount./api/books/{_id} to retrieve a single object of a book containing title, _id, & an array of comments (empty array if no comments present).comment to /api/books/{_id} to add a comment to a book and returned will be the books object similar to get /api/books/{_id}./api/books/{_id} to delete a book from the collection. Returned will be 'delete successful' if successful./api/books to delete all books in the database. Returned will be 'complete delete successful' if successful.
Select a book to see its details and comments