React Native Login and Authentication
This is the code developed in the tutorial on creating a React Native application with login and authentication using Stormpath.
Requirements
- npm or yarn
- React Native CLI
- Android SDK setup, with emulator or device attached. See https://facebook.github.io/react-native/docs/getting-started.html
Should work on Windows, Linux or Mac.
Prerequisites
You need an account with Stormpath (https://api.stormpath.com/register) and an application setup (https://docs.stormpath.com/console/product-guide/latest/getting-started.html). Make sure the CLIENT_API entry in Enviroment.js matches your DNS entry. See https://docs.stormpath.com/console/product-guide/latest/applications.html#managing-an-application-s-client-api-configuration for more.
Installing
Install libraries in the project folder with npm or yarn
$ yarn
Running
To run simply type
$ react-native run-android
or run-ios if needed.
Todo
- Adding data view with authorization
- User registration screen
License
MIT