expressbooksapp
v1.0.0
Published
rest api book project
Readme
RESTful Express Books App
This is a test RESTful app, that allows user to add, update, delete or view books using GET, POST, PUT and DELETE HTTP methods
Usage
- To add a book: POST + http://localhost:8000/books/
Req body:
{ "title": "title", "author": "author" } - To update a book: PUT + http://localhost:8000/books/:id
Req body:
{ "title": "newTitle" } - To delete a book: DELETE + http://localhost:8000/books/:id
Tests
npm test
