/apollo-starter-kit

Boilerplate for getting off the ground quickly when writing a GraphQL server

Primary LanguageJavaScriptMIT LicenseMIT

apollo-starter-kit

Boilerplate for getting off the ground quickly when writing a GraphQL server.

See also Tutorial: How to build a GraphQL server and the solution in the server-tutorial-solution branch of this repo.

Getting started

git clone https://github.com/apollostack/apollo-starter-kit
cd apollo-starter-kit
npm install
npm run start

Then open http://localhost:8080

When you paste this on the left side of the page:

{
  testString
}

and hit the play button (cmd-return), then you should get this on the right side:

{
  "data": {
    "testString": "It works!"
  }
}