protodaniel / react-native-auth-starter

Starter Project for React Native Authentication

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Starter Project for React Native Authentication

License:Other


Languages

Language:JavaScript 75.5%Language:Objective-C 14.2%Language:Python 5.6%Language:Java 4.8%