- Create an AWS account
- Install npm
- Run
npm install
at the project's root level - Install or update your aws cli
- Install angular-cli
cd aws
./createResources.sh
# Clone it from github
git clone --depth 1 [email protected]:awslabs/aws-cognito-angular2-quickstart.git
# Install the NPM packages
npm install
# Run the app in dev mode
npm start
# Build the project and sync the output with the S3 bucket
ng build; cd dist; aws s3 sync . s3://budilov-cognito/
# Test it out
curl –I http://budilov-cognito.s3-website-us-east-1.amazonaws.com/
Modify the following 2 files with your newly-created AWS service ids (Cognito, DDB, etc)
src/environments/environment.ts
src/environments/environment.prod.ts