steps-
-
intialise the project by npm init and write the inforamation of the project
-
make the directory structure MVC
-
write down the entry point index.js and in that require all the libraray and modules that we need
-
install - nodemon (for continuity of the add so that you don't need to save the code again and again) express(server) mongoose(for database) ejs(view-engine) express-ejs-layout(for layouts) express-fileupload(for uploading the file) csvtojson(for converting the csv to json format)
-
set up the installed libraries for mongoose make a new folder named config-> mongoose.js
-
use all the folder of view and asset in index.js
-
make the model schema for the file
-
make the routes
-
make the controller action
-
start the server using 'npm start'