App that lets people order food from restaurants and get it delivered at their doorstep.
- Node.js
- MySQL
- Express.js
- Angular.js
- Install Node, NPM and MySQL in your machine.
- Clone this repository.
- Open terminal and change current working directory to /app
- Start the MySQL server.
- Edit the
db_init_queries.json
file with any queries you want to add. - Run
npm run setup
(Usesudo
, if required)
Now, all the required backend dependencies will the installed and the database will be created.
Note: Please use this command only for first installation. Do not use it on production database as it drops existing tables from database and re-creates them. If you are adding a new dependency, use npm install
command to update dependencies.
- Open terminal and change current working directory to /app/src/client
- Run
npm install
and thennpm run build
(Usesudo
, if required.) - Open browser and go to the url: http://localhost:<backend_port>/app/
- Open terminal and change current working directory to /app/src/client
- Run
npm install
and thennpm start
(Usesudo
, if required.) - Open browser and go to the url: http://localhost:3000