Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hezhii/react-native-auth-example
🔑 React Native APP 身份验证模块示例
https://github.com/hezhii/react-native-auth-example
authentication authorization react-native token-authetication
Last synced: about 5 hours ago
JSON representation
🔑 React Native APP 身份验证模块示例
- Host: GitHub
- URL: https://github.com/hezhii/react-native-auth-example
- Owner: hezhii
- Created: 2018-01-12T09:01:09.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T20:04:56.000Z (almost 2 years ago)
- Last Synced: 2024-04-14T23:10:30.636Z (7 months ago)
- Topics: authentication, authorization, react-native, token-authetication
- Language: JavaScript
- Homepage:
- Size: 1.63 MB
- Stars: 53
- Watchers: 1
- Forks: 18
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React Navigation 身份验证流程
身份验证是 APP 中十分常见的一个模块,此示例基于 React Navigation 和 Token 机制实现了 React Native APP 中的身份验证流程。
## 如何测试
1. 启动 APP
APP 目前只考虑了 IOS,建议测试时使用 IOS。
```bash
$ cd
$ yarn install
$ react-native run-ios
```2. 启动后台服务
```bash
$ cd server
$ yarn install
$ yarn start
```