provided by Udacity to be hosted into AWS with Pipeline using CircleCI. #Getting Started
git clone https://github.com/Ramia-aloufi/Hosting-a-Full-Stack-Application.git
cd Hosting-a-Full-Stack-Application
npm run frontend:install npm run backend:install
POSTGRES_HOST="" POSTGRES_USERNAME="" POSTGRES_PASSWORD="" POSTGRES_DB="" DB_PORT=5432
PORT = URL=""
AWS_REGION="" AWS_PROFILE="" AWS_BUCKET=""
JWT_SECRET=""
npm run frontend:build npm run backend:build
npm run frontend:start npm run backend:start
- aws s3 cp --recursive ./www s3://[s3name]/
- new eb =eb init, eb create --single --keyname [keypair] --instance-types t2.medium
- exist eb = npm run backend:deploy
psql -h [endpoint] -U [user] [db]