Custom auth from with Amplify and React https://youtu.be/JaVu-sS3ixg
** Setup and installation *** snowpack
npx create-snowpack-app xb-amplify-auth --template @snowpack/app-template-react-typescript*** amplify If you don’t have amplify yet
npm install -g @aws-amplify/cli
amplify configureFrom the newly created application folder we can initialise amplify
cd amplyAuth
amplify initThis will trigger some questions for you to answer It will then build a stack with basic Role and S3 bucket
*** aws amplify in the project folder still
npm i aws-amplify** Authentication *** add and configure package +NAME: install aws-amplify package
amplify add authWe choose default configuration and username for sign in.
+NAME: build the local config into the clound
amplify push*** Apply config in React app Set up the Front-End #+NAME in src/index.js
import Amplify from "aws-amplify";
import awsExports from "./aws-exports";
Amplify.configure(awsExports);