This is a simple menu uploader which takes all the details of a hotel and the menu to be added to it through a form and stores it in a Mongodb Database.
To run the files locally on your system,follow the below steps:
-
First,install nodejs and npm. (https://nodejs.org/en/)
-
check if node and npm is installed correctly using command prompt.
node -v
npm -v
3.Then,install the following dependencies:
npm install -g express
npm install -g mongoose
npm install -g body-parser
4.Now,run the required file using node.
node file_name.js
Additionally,you must have mongodb installed,in orde to access the data.