gjungb / bookmonkey-api

A demo api to show books

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A demo api to show books


Languages

Language:HTML 55.0%Language:JavaScript 42.9%Language:CSS 2.1%