Skip to content

Latest commit

 

History

History
61 lines (52 loc) · 1.72 KB

README.md

File metadata and controls

61 lines (52 loc) · 1.72 KB

Cognito Quickstart

What does this app do?

QuickStart Angular2 Cognito App

Tech Stack

Required Tools

Frameworks

AWS Setup

Install the required tools
This will install the AWS resources
  • cd aws
  • ./createResources.sh

Getting the code

# 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/

Necessary changes

Modify the following 2 files with your newly-created AWS service ids (Cognito, DDB, etc)

src/environments/environment.ts
src/environments/environment.prod.ts