An open API service indexing awesome lists of open source software.

https://github.com/varundeva/nodejs-mongodb-crud

Crud Operation Using NodeJS and MongoDB [No Frontend]
https://github.com/varundeva/nodejs-mongodb-crud

body-parser express-js expressjs mongodb mongodb-database node-js nodejs nodejs-server

Last synced: 3 months ago
JSON representation

Crud Operation Using NodeJS and MongoDB [No Frontend]

Awesome Lists containing this project

README

          

# nodejs-mongodb-crud
Crud Operation Using NodeJS and MongoDB

![npm package](https://img.shields.io/badge/npm%20package-v3.5.2-brightgreen.svg)
[![GitHub issues](https://img.shields.io/github/issues/Naereen/StrapDown.js.svg)](https://GitHub.com/Naereen/StrapDown.js/issues/)
[![Open Source Love svg1](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/)

**Clone Project or Download zip and Extract**
```sh
https://github.com/varundeva/nodejs-mongodb-crud.git
```
**Install Required npm Packages**
```sh
$ cd nodejs-mongodb-crud
$ npm i express
$ npm i mongodb
$ npm i body-parser
```
**Create Database and Collection in MongoDB**

Use MongoDB Shell or MongoDB Compass to Create and Manage Database
```sh
Create Database - "ShoppingCart"
Create Collection - "Products"
```
**Run Node Project**
```sh
-app.js is entry point
-run node app.js
-using Post Man Software interact
```

**Free Software, Hell Yeah!**