Skip to content

A sample implementation of login/registration with Cognito in React

Notifications You must be signed in to change notification settings

majestic-cloud/react-cognito

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

Deploy infrastructure (Cognito User Pool, CloudFront Distribution, S3 Bucket) :

sam deploy --guided

Then grab your User Pool id and User Pool Client Id and modify the file awsexports.js with these values

Then you can start the app in local mode:

npm run start

Build the app to generate your static website

npm run build

Sync the static website to your s3 bucket

aws s3 sync build s3://your-s3-bucket-name

About

A sample implementation of login/registration with Cognito in React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published