Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dabit3/react-native-auth-starter
React Native Starter with Fully Integrated Authentication
https://github.com/dabit3/react-native-auth-starter
aws-cognito aws-cognito-template react react-native
Last synced: 1 day ago
JSON representation
React Native Starter with Fully Integrated Authentication
- Host: GitHub
- URL: https://github.com/dabit3/react-native-auth-starter
- Owner: dabit3
- License: other
- Created: 2018-01-27T22:20:23.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-19T22:00:49.000Z (over 6 years ago)
- Last Synced: 2024-08-02T07:21:58.992Z (3 months ago)
- Topics: aws-cognito, aws-cognito-template, react, react-native
- Language: JavaScript
- Size: 1.65 MB
- Stars: 24
- Watchers: 6
- Forks: 14
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-aws-amplify - React Native Auth Starter
README
# React Native Auth Starter
Easy authentication for your next React Native app.
![](https://i.imgur.com/KXo3Dnn.jpg)
### 🎧 Powered by [Amplify](https://github.com/aws/aws-amplify)
## Features
✅ Preconfigured, production tested authentication flow
✅ 2 Factor Authentication Enabled
✅ React Navigation
✅ Redux
✅ Amplify React Native
✅ Opinionated yet configurable
✅ Themeable
✅ Cross-Platform
## Getting Started
1. Clone project
```
git clone https://github.com/dabit3/react-native-auth-starter.git
```2. Change into react-native-auth-starter directory
```
cd react-native-auth-starter
```3. Install dependencies
```
yarn || npm install
```4. 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
----
5. Install [AWSMobile CLI](https://github.com/aws/awsmobile-cli) if not already installed and configured (for steps on how to configure AWSMobile CLI, see [this](https://www.youtube.com/watch?v=MpugaNKtw3k) two minute video)
```
npm i -g awsmobile-cli
awsmobile configure
```6. Create a new AWS Mobile Hub Project using the AWSMobile CLI
```
awsmobile init
```7. Enable User Sign In
```
awsmobile user-signin enable
awsmobile push
```