vishvendrasingh / xpress_mongo

MVC+Service Base architecture API+JWT auth ready Express.js of nodeJS storage Database is mongoDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

NodeJs & Express.js with Repository Design pattern with working example. More clear explanation is shown in this diagram -

Basic Architecture

Installation

From this git reposity

  • Take git clone
git clone https://github.com/vishvendrasingh/xpress_mongo.git
  • Install dependencies
npm install
  • Then run
DEBUG=xpress_mongo:* nodemon npm start

Bare express

  • Install Express generator globally
npm install express-generator -g
  • Install
express --view=pug xpress_mongo
  • Install dependencies
npm install
  • Then run
DEBUG=xpress_mongo:* nodemon npm start

ref link - https://expressjs.com/en/starter/generator.html

About

MVC+Service Base architecture API+JWT auth ready Express.js of nodeJS storage Database is mongoDB


Languages

Language:JavaScript 96.3%Language:HTML 2.6%Language:CSS 1.1%