To Run Project
-
Make sure you have NodeJS installed
-
Navigate to root directory (i.e the project folder) in terminal or any unix shell. [ used cd for change directory, and ls to show directory contents]
-
Make sure sequelize command line interface is installed with unix command: npm install -g sequelize-cli
-
Install all project dependencies by running the command: npm install
-
Change directory into api folder and run the command: sequelize db:migrate
-
Start server by running node server.js
or from root directory
node api/server.js
-
Load data by going to the following url in browser
-
Load project by going to: http://localhost:8080