Note: The Tutorial uses Apollo Server v0.1, which is not the current version. To get to the current version, follow the tutorial, and then update following this migration guide.
Starting point for the Apollo GraphQL Server tutorial.
See also Tutorial: How to build a GraphQL server and the solution in the server-tutorial-solution
branch of this repo.
Up-to-date documentation and explanations for Apollo Server can be found on docs.apollostack.com
git clone https://github.com/apollostack/apollo-starter-kit
cd apollo-starter-kit
npm install
npm run start
Then open http://localhost:8080/graphql
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!"
}
}