GithubHelp home page GithubHelp logo

jsxs0 / create-react-app-auth-amplify Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aws-samples/create-react-app-auth-amplify

0.0 0.0 0.0 19.55 MB

Implements a basic authentication flow for signing up/signing in users as well as protected client side routing using AWS Amplify.

License: MIT No Attribution

HTML 18.37% CSS 9.80% JavaScript 71.83%

create-react-app-auth-amplify's Introduction

Create-react-app with AWS Amplify Auth

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.

View Demo

Amplify Auth

Deploy with the AWS Amplify Console

The AWS Amplify Console provides hosting for fullstack serverless web apps. Learn more. Deploy this app to your AWS account with a single click:

amplifybutton

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 at https://master.appid.amplifyapp.com.

Run locally with the Amplify CLI

  1. Clone the repo that was just forked in your account
git clone [email protected]:<username>/create-react-app-auth-amplify.git

cd create-react-app-auth-amplify && npm install
  1. 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 the amplify env import command from the Amplify Console.

  1. Paste this command into your terminal at the root of your repo. You should see the amplify/team-provider.json updated with a backend named amplify.
amplify pull

img

  1. Run locally
npm start

Checkout Nader Dabit's Complete Guide to User Authentication.

create-react-app-auth-amplify's People

Contributors

abhi7cr avatar amplify-hosting-test-pdx-beta avatar athena96 avatar dependabot[bot] avatar donkahn avatar hyandell avatar kahdojay avatar nimacks avatar swaminator avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.