This project template was built with react-native init.
To use the example, u need a server with some route like http://192..168.0.115:8080/api/user
The route fetchs users in database and return if user exists, to login function in react-native app
- Clone this repo
- Go to repo folder
- run npm install
- open project in some IDE
- open file src/actions/Login.js and change the route defined in const login function. (actual route is http://192.168.0.115:8080/api/user)
- run your emulation device (in my case, i used a pluged device)
- run react-native run-android (or react-native run-ios)
Enjoy it :D
Plz: Feel free to send in any questions, or any improvement in the code. I will accept with all pleasure.