Skip to content

sanjaysaini2000/node-express-mongodb-webapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Express & MongoDB Web API

This web api is developed with Node.js and Express to demonstrate crud operations using Mongoose with MongoDB as backend.

Prerequisites

  • In order to run this app, you need Node.js, which is javascript runtime installed on our machine. So download and install the latest Node.js available from this link.

  • we also need to have MongoDB installed on the machine. You can download and install MongoDB community edition free from this link.

  • And last, Postman which a famous API Client tool used in testing web API by sending web requests and inspecting response from the API. So download and install Postman for free from this link.

Getting Started

Clone or Download the zip file of this repository.

Install Web API Dependencies

Open the command window in the folder where you have unzip the web api repository code and run the following command to install all the package dependencies.

npm install

Running the Web API

Run following command in the command window to run the web api server.

npm run server

Or run following command if above one dose'nt work.

node index.js

Check out my article where I have tested another web api using PostMan. Although web api is different but steps to test any we api are same with PostMan.

Built With

About

This web api is developed with Node.js and Express to demonstrate crud operations using Mongoose with MongoDB as backend.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published