- Notifications
You must be signed in to change notification settings - Fork5.7k
Implements a basic authentication flow for signing up/signing in users as well as protected client side routing using AWS Amplify.
License
aws-samples/create-react-app-auth-amplify
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This auth starter implements withAuthenticator HOC to provide a basic authentication flow for signing up signing in users as well as protected client side routing using AWS Amplify. Auth features: User sign up, User sign in, Multi-factor Authentication, User sign-out.
The AWS Amplify Console provides hosting for fullstack serverless web apps.Learn more. Deploy this app to your AWS account with a single click:
The Amplify Console will fork this repo in your GitHub account, and then build and deploy your backend and frontend in a single workflow. Your app will be available athttps://master.appid.amplifyapp.com
.
- Clone the repo that was just forked in your account
git clone git@github.com:<username>/create-react-app-auth-amplify.gitcd create-react-app-auth-amplify && npm install
- Import the backend environment deployed by the Amplify Console to your repo (the
amplify/team-provider.json
file contains information on all backend environments in your AWS account). The GIF below shows how you to copy theamplify env import
command from the Amplify Console.
- Paste this command into your terminal at the root of your repo. You should see the
amplify/team-provider.json
updated with a backend namedamplify
.
amplify pull
- Run locally
npm start
Checkout Nader Dabit'sComplete Guide to User Authentication.
About
Implements a basic authentication flow for signing up/signing in users as well as protected client side routing using AWS Amplify.
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Contributors12
Uh oh!
There was an error while loading.Please reload this page.