πŸ“„API Documentation - Home

The documentation for my Programming (Black) individual coursework - qrcs62

James Harvey's Online Library

This is the documentation for any GET, POST and DELETE methods that have been implemented in my Online Library single-page app. There is a library of around 130 books which can be added to removed from and viewed using this website which needs to be hosted on a local machine using Node.js. The source code can be downloaded from:

https://github.com/Jamwilltim/Online-Library-Single-Page-Apparrow-up-right

Make sure to follow the setup instructions in the README.md file

To preface, all API links start with a /api/...this is to distinguish them from any pages in the actual website, if you are experiencing a fetch error this could be the issue

Books

GET /bookschevron-rightGET /books/lengthchevron-rightGET /books/:idchevron-rightGET /books/:id/reviewschevron-rightGET /favouriteschevron-rightGET /newreleaseschevron-rightGET /searchchevron-rightDELETE /books/:idchevron-rightPOST /bookschevron-rightPOST /updateFavourite/:idchevron-right

Reviews

GET /reviewschevron-rightPOST /reviewschevron-rightDELETE /reviews/:idchevron-right

Last updated