Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.49 KB

README.md

File metadata and controls

31 lines (23 loc) · 1.49 KB

CMPE273-37 - Lab1 - Calculator and Homeaway using Node, React and MySql

Prerequisite

should have NodeJS, npm and MySql server installed in your system.

How to setup DB

If you want to use the data on which I tested this application,Click here to get DB Dump

If you want to get the DB Schema only, and start populating it on your own, Click here to get DB schema

How to start backend

Go to the backend directory and run following command on shell:
npm install
then node index.js

Backend directory for Calculator
Backend directory for Homeaway

How to start Frontend

Go to the backend directory and run following command on shell:
npm install
then npm start

Frontend directory for Calculator
Frontend directory for homeaway prototype

Note:

Calculator frontend will start on `http://localhost:3000/`
Calculator backend is running on `http://localhost:3030/`
Homeaway frontend will start on `http://localhost:3000/`
Homeaway backend will be running on `http://localhost:3001/`