redbag-session-web-app-frontend

run on your local machine

mkdir -p demo-web && cd demo-web

Frontend

git clone git@github.com:idev4u/redbag-session-web-app-frontend.git frontend-web-app
cd frontend-web-app

Init the project demo-app is creating the environment

$ eb init demo-app -p node.js --region eu-west-1

create the app runtime box, it will autmagically deploy the app

eb create frontend-web-app

Open the browser with the url open http://.....

Backend

setup the backend

export API_ENDPOINT=http://web-app-backend.xxxx.elasticbeanstalk.com

start the front end

npm start

run on aws beanstalk

setup the environment

eb printenv
eb setenv API_ENDPOINT=http://web-app-backend.xxxx.elasticbeanstalk.com

deploy

eb deploy