Skip to content

Commit de57676

Browse files
committed
readme
1 parent 30688c8 commit de57676

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,21 @@
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.**

0 commit comments

Comments
 (0)