daniele-zurico / graphql-setup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

apollo-tutorial-kit

Starting point for the Apollo GraphQL Server tutorial.

Follow along with the tutorial in the blog post: How to build a GraphQL server. If you want to skip ahead to the solution, check out the server-tutorial-solution branch of this repo.

Up-to-date documentation and explanations can be found in the Apollo Server docs

Getting started

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

Then open http://localhost:3000/graphiql

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!"
  }
}

About

License:MIT License


Languages

Language:JavaScript 100.0%