File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change
1
+ ## The GraphQL Guide React Native app
2
+
3
+ This example app is built, tutorial-style, in the React Native chapter of [ The GraphQL Guide] ( https://graphql.guide/ ) .
4
+
5
+ - Entry point: [ App.js] ( https://github.com/GraphQLGuide/guide-react-native/blob/master/App.js )
6
+ - Two screens, each with a GraphQL query:
7
+ - [ src/HomeScreen.js] ( https://github.com/GraphQLGuide/guide-react-native/blob/master/src/HomeScreen.js )
8
+ - [ src/ChapterScreen.js] ( https://github.com/GraphQLGuide/guide-react-native/blob/master/src/ChapterScreen.js )
9
+
10
+ ### Running the app
11
+
12
+ ``` sh
13
+ git clone https://github.com/GraphQLGuide/guide-react-native.git
14
+ cd guide-react-native/
15
+ npm install
16
+ npm start
17
+ ```
18
+
19
+ This will start the Expo bundler, and you can open the app on Android, iOS, or web.
20
+
21
+ ![ App running on iOS device] ( https://res.cloudinary.com/graphql/image/upload/v1601574720/guide/expo-home-screen.png )
You can’t perform that action at this time.
0 commit comments