Skip to content

Latest commit

 

History

History
77 lines (45 loc) · 1.43 KB

README.md

File metadata and controls

77 lines (45 loc) · 1.43 KB

React Native Auth Starter

Easy authentication for your next React Native app.

🎧 Powered by Amplify

Features

✅ Preconfigured, production tested authentication flow

✅ 2 Factor Authentication Enabled

✅ React Navigation

✅ Redux

✅ Amplify React Native

✅ Opinionated yet configurable

✅ Themeable

✅ Cross-Platform

Roadmap

⬜️ Social Logins / Federated Identities

⬜️ Optional intro / onboarding flow

Getting Started

  1. Clone project
git clone https://github.com/dabit3/react-native-auth-starter.git
  1. Change into react-native-auth-starter directory
cd react-native-auth-starter
  1. Install dependencies
yarn || npm install
  1. Configure AWS Amplify config in index.js by adding your own aws-export.js file in the src directory. If you do not already have this file, continue to step 5

  1. Install AWSMobile CLI if not already installed and configured (for steps on how to configure AWSMobile CLI, see this two minute video)
npm i -g awsmobile-cli
awsmobile configure
  1. Create a new AWS Mobile Hub Project using the AWSMobile CLI
awsmobile init
  1. Enable User Sign In
awsmobile user-signin enable
awsmobile push