Skip to content

Create React webapp that uses the aws amplify library

Notifications You must be signed in to change notification settings

spjenk/amplify-react-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example authentication solution using aws-amplify

This project was bootstrapped with Create React App.

Run

yarn start

Steps creating this app

Created skeleton app using create-react-app

    npx create-react-add amplify-react-example 
    cd amplify-react-example 
    yarn add redux redux-saga prop-types aws-amplify aws-amplify-react semantic-ui-react

commit

Enabled authentication with aws-amplify

Configured and enabled aws-amplify within app.js

commit

Create secure lambda then call from react app using amplify

Created lambda and enabled authentication via IAM (serverless.yml)

Deploying the lambda and API Gateway

    sls deploy

serverless - serverless documentation for aws