[CCAPDEV] MC | A food review website wherein users can rate different restaurants around the Metro.
-
Import data in
database_data
, to a table namedTastee
-
Install node.js
-
Install express, mongoose, and handlebars in the terminal of your IDEs
- Type
npm i express mongoose express-handlebars mongodb nodemon
- Type
-
To run, type
npm run start
in the terminal. This runs the app.js file withoutnodemon
in the background. -
[Optional] For easier refresh and saving of server, download nodemon with
npm i nodemon
Then, usenpm save --dev nodemon
tto run with nodemon
For some reason, the .env files won't work. So we had to integrate the port into the code itself. #SecurityBreach