File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed
Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change 1- "# react-native-redux-thunk-authentication-example"
1+ # Redux + Redux Persist + Router Flux Example
2+
3+ This project template was built with [ react-native init] ( https://github.com/facebook/react-native ) .
4+
5+ ## Important Note:
6+ To use the example, u need a server with some route like ** http://192..168.0.115:8080/api/user **
7+ The route fetchs users in database and return if user exists, to login function in react-native app
8+
9+ ## How to use?
10+
11+ 1 . Clone this repo
12+ 2 . Go to repo folder
13+ 3 . run ** npm install**
14+ 4 . open project in some IDE
15+ 5 . 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 )
16+ 6 . run your emulation device (in my case, i used a pluged device)
17+ 7 . run ** react-native run-android** (or react-native run-ios)
18+
19+ Enjoy it : D
20+
21+ ** Plz: Feel free to send in any questions, or any improvement in the code. I will accept with all pleasure.**
You can’t perform that action at this time.
0 commit comments