https://github.com/andreicalazans/hn_react_native_relay
Hacker News React Native Relay App.
https://github.com/andreicalazans/hn_react_native_relay
flow graphql react react-native relay
Last synced: 3 months ago
JSON representation
Hacker News React Native Relay App.
- Host: GitHub
- URL: https://github.com/andreicalazans/hn_react_native_relay
- Owner: AndreiCalazans
- Created: 2018-04-06T14:31:59.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-10T12:52:36.000Z (about 8 years ago)
- Last Synced: 2025-04-03T21:43:45.724Z (over 1 year ago)
- Topics: flow, graphql, react, react-native, relay
- Language: JavaScript
- Homepage:
- Size: 1.33 MB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hackernews React Native with Relay example.
*The objective of this app is to show how to set up relay modern with React Native and be a study reference for those interested in using Relay. This is a very opionated repo since it comes with full configuration for flow and eslint. Enjoy!*
### Stack
* React Native
* GraphQL
* Relay
* Flow
* React Navigation
* Storybook
### TO INSTALL:
*New to react native? follow this https://facebook.github.io/react-native/docs/getting-started.html*
1. yarn install
2. yarn relay
3. react-native run-ios | react-native run-android
### Pre-commits
*It runs prettier, flow, commit-lint and eslint on every commit. This guarantees code quality*



### Contribute
*Please feel free to contribute, below are the things which are waiting to be completed.*
**TODO:**
- [x] Create login.
- [x] Create Sign up.
- [x] Create logout.
- [x] Create example of how to create refetchContainer with load more.
- [x] Vote mutation.
- [ ] Create example of adding, deleting and updating items mutation.
- [ ] Display list of users using pagination container.
- [ ] Create example of paginationContainer with pagination and refresh.
- [ ] Vote subscription.
- [ ] Write unit tests with Jest.
- [ ] Replace graphcool for a complete graphql + relay server.