- Download the code and in the folder run
npm install
to install the node dependencies. - Run
npm install
inside the folder 'frontend' as well to install the react dependencies.
- Create a file with the name
.env
in the root folder and set the following:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_DEFAULT_REGION
- AWS_HOST_URL (the url of you AWS EC2 instance)
- Inside the root folder run
npm start
. This will start the express application on portlocalhost:3001
Inside the folder 'frontend' run npm start
.
This will start the React application on port localhost:3000