Skip to content

Commit d60ac46

Browse files
committed
Add README
1 parent bcc3606 commit d60ac46

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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)

0 commit comments

Comments
 (0)