Project logo

BookDirectory

Status License


This is Book Directory , It's for learning purpose . It basically containes GET requests for requesting books.

📝 Table of Contents

🧐 About

This is testing of RESTAPI prject written in NodeJS , Currently WIP

🏁 Getting Started

These instructions will get you a copy of the project up and running on your local machine for development .

Prerequisites

What things you need to install the software and how to install them.

-Browser. -NodeJS installed.

Installing

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

🎈 Usage

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

⛏️ Built Using

  • Express - Server Framework
  • NodeJs - Server Environment
  • [JSON] - JSON FILE

🎉 Acknowledgements

  • Hat tip to anyone whose code was used
  • Inspiration
  • References