A very simple REST api for creating, reading, updating and deleting books using only vanilla node.
# All books
GET /api/books
# Single book
GET /api/books/:id
# Add book
POST /api/books
# Update book
PUT /api/books/:id
# Delete book
DELETE /api/books/:idJust clone the repo, cd and run:
npm i && npm run startNow you can test it using something like curl or postman.