This is Book Directory , It's for learning purpose . It basically containes GET requests for requesting books.
This is testing of RESTAPI prject written in NodeJS , Currently WIP
These instructions will get you a copy of the project up and running on your local machine for development .
What things you need to install the software and how to install them.
-Browser. -NodeJS installed.
A step by step series of examples that tell you how to get a development env running.
This command install all the modules required :
$npm i
This runs the server using localhost :
$nodemon app.js
When you get the server up and running : These are the commands you can use : Listing all books :
$localhost:3000/books
Getting a book using its ID :
$localhost:3000/books/id/$id
Getting a book using its ID :
$localhost:3000/books/title/$title
- Hat tip to anyone whose code was used
- Inspiration
- References