fbfeix / apollo-server-tutorial

Sample code for a GraphQL server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

apollo-server-tutorial

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.

All The changes necessary to update to Apollo Server v0.2 can be found in the diff of @p4bloch's PR

This repo contains the full code for the GraphQL server tutorial (SQL, MongoDB + REST).

Documentation and explanations can be found on docs.apollostack.com

How to use

In order for the MongoDB part of this example to work, you need to have MongoDB installed on your machine. All other required parts come with this package.

npm install
npm start

The server should now accept requests at http://localhost:8080/graphql

About

Sample code for a GraphQL server

License:MIT License


Languages

Language:JavaScript 100.0%