项目作者: varundeva

项目描述 :
Crud Operation Using NodeJS and MongoDB [No Frontend]
高级语言: JavaScript
项目地址: git://github.com/varundeva/nodejs-mongodb-crud.git
创建时间: 2020-03-07T16:55:21Z
项目社区:https://github.com/varundeva/nodejs-mongodb-crud

开源协议:

下载


nodejs-mongodb-crud

Crud Operation Using NodeJS and MongoDB

npm package
GitHub issues
Open Source Love svg1

Clone Project or Download zip and Extract

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

Install Required npm Packages

  1. $ cd nodejs-mongodb-crud
  2. $ npm i express
  3. $ npm i mongodb
  4. $ npm i body-parser

Create Database and Collection in MongoDB

Use MongoDB Shell or MongoDB Compass to Create and Manage Database

  1. Create Database - "ShoppingCart"
  2. Create Collection - "Products"

Run Node Project

  1. -app.js is entry point
  2. -run node app.js
  3. -using Post Man Software interact

Free Software, Hell Yeah!