A react template that includes redux toolkit with auth0.
-
yarn
-
yarn create react-app --template toolkit-signin-up
-
npm
-
npm init react-app --template toolkit-signin-up
-
npx
-
npx create-react-app --template toolkit-signin-up
-
create you application and get your Domain and ClientID
-
create a .env file and add the Domain and ClientId to the corresponding variable.
REACT_APP_AUTH0_DOMAIN="Put Domain Here"
REACT_APP_AUTH0_CLIENT_ID="Put Client Id here"
-
Just like regular create-react-app but so much more.\This template includes:\
"@auth0/auth0-react",
"@reduxjs/toolkit",
"bootstrap",
"react-bootstrap",
"react-redux",
"react-router-dom"