All Projects → apollographql → Apollo Server Tutorial

apollographql / Apollo Server Tutorial

Licence: mit
Sample code for a GraphQL server

Programming Languages

javascript
184084 projects - #8 most used programming language

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].