bookmonkey-api

A simple backend for the BookMonkey example application.

Usage no npm install needed!

<script type="module">
  import bookmonkeyApi from 'https://cdn.skypack.dev/bookmonkey-api';
</script>

README

bookmonkey-api

The bookmonkey-api is a demo api to list, get, create, update and delete books. It's very handy for workshops. It comes with its own documentation.

Installation & Usage

  • Run npm install -g bookmonkey-api.
  • Start the api server with bookmonkey-api.
  • Open the documentation on http://localhost:4730/

Supported actions

GET     /books          // Get all books
GET     /books/:isbn    // Get a specific book by ISBN
POST    /books          // Create a new book
PUT     /books/:isbn    // Update a book by ISBN
DELETE  /books/:isbn    // Delete a book by ISBN