Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 788 Bytes

File metadata and controls

29 lines (19 loc) · 788 Bytes

node-restful-api-swagger-mongoose

Restful api with nodejs, mongoose, swagger and Joi Validation

Software Requirements

  • Node.js 13+
  • MongoDB 4+

How to Install

1. clone the project from repository https://github.com/rahulpra567/node-restful-api-swagger-mongoose.git
2. download the repository

Install the npm dependencies

First of all, we need install npm package that in pacakge.json
we need run command npm install in project in window.

Set Environment

we need rename of file env.example to .env file

How to Run for locally

we need run command npm start for run the project.

Show All Swagger Api

http://localhost:3000/api-docs