NodeJs & Express.js with Repository Design pattern with working example. More clear explanation is shown in this diagram Diagram
- Take git clone
git clone https://github.com/vishvendrasingh/xpress.git
- Install dependencies
npm install
- Then run
DEBUG=xpress:* nodemon npm start
- Install Express generator globally
npm install express-generator -g
- Install
express --view=pug xpress
- Install dependencies
npm install
- Then run
DEBUG=xpress:* nodemon npm start