Skip to content

Repository files navigation

About

Book lending API is developed with node.js version 8. It uses async and await to provide synchronity to the tasks.

Dependencies

Following are the project dependencies:

  • Hapi
  • Joi
  • Monk
  • dotenv

Steps to run the project

  1. Install node and all the dependencies.
  2. Create an .env file inside the main project directory if not present already.
DB_URL='<enter value here>'
PORT= 3000
  1. Run command, once you are inside the project directory.

node index.js

  1. You can check the project on the localhost:3000/
  2. Now you can run the post commands by using httpie, curl or postman - sample commands are provided in sample.json

NOTE- Sample.json include the example commands to execute the tasks in the api.

About

A Book lending api, exposing the clean code approach implemented by Hapi

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages