An open API service indexing awesome lists of open source software.

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: 3 months ago
JSON representation

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