https://github.com/davidnguyen11/react-apollo-hackernews
https://github.com/davidnguyen11/react-apollo-hackernews
apollo-client apollo-server apollographql demo graphcool graphql react
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/davidnguyen11/react-apollo-hackernews
- Owner: davidnguyen11
- Created: 2017-11-17T08:17:04.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-28T04:22:17.000Z (over 8 years ago)
- Last Synced: 2025-04-03T01:25:41.706Z (about 1 year ago)
- Topics: apollo-client, apollo-server, apollographql, demo, graphcool, graphql, react
- Language: JavaScript
- Size: 1.17 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React apollo hackernews
This sample project follow the instruction from [https://www.howtographql.com/react-apollo/0-introduction/](https://www.howtographql.com/react-apollo/0-introduction/)
# set up
First, you need to install `graphcool` globally.
```bash
npm install -g graphcool
```
cd to `server` dir. Run commands
```bash
yarn install
```
```bash
graphcool deploy
```
cd to parent of `server` dir contains `package.json` run commands:
```bash
yarn install
```
```bash
yarn start
```
That's it! Enjoy