Home

Awesome

Universal React Apollo Example

Gitter Build Status

An example of the app that shows how to use a modern stack (strong accent on GraphQL!).

Features

Running the app

1. This repository is the frontend for Wordpress GraphQL API Example. You need to run it first, however, you can also set up own endpoints.

2. Install Node/npm

Make sure you have Node.js installed (the app has been tested with Node 5.12.0). You can use npm or yarn for running commands (we prefer yarn, as it is faster).

3. Clone and install dependencies

git clone https://github.com/WeLikeGraphQL/react-apollo-example.git
cd react-apollo-example
yarn install

4. Build and run the app

Development mode:

yarn run build:dll
yarn run dev

Production mode:

yarn run build
yarn start

5. Running Tests

yarn test

How to Contribute:

Best way to keep up to date is check the issues. We really welcome improvements for all aspects of an app.

  1. Any suggestions/improvements/bugs can be in the form of Pull Requests, or creating an issue.
  2. Coding guidelines: Airbnb's Style Guide