This is a simple project in express, where Mongo, MySQL connection is covered. Both connections is used
- Install express generator
npx express-generator
npm install
- Install database drivers
npm install mongoose --save
npm install mysql --save
npm install mysql2 --save
-
Created a shared folder where all models, connections etc. will be there
-
Install EJS Template engine for web page
npm install ejs
- Install multer
npm install --save multer
N.B. :
- The app is running in a default port : 3000
- Setting template engine : ejs