A simple, straight forward guide to building a GraphQL server with Apollo Server.
This repository is the example application for the Getting Started guide in the Apollo Server documentation.
Play with this example using Glitch by clicking the following button:
- Clone this repository:
git clone git@github.com:apollographql/graphql-server-example.git cdinto thegraphql-server-examplefolder and run the following commands:- Run
npm install - Run
node index.js
- Run
- Open your browser and see the server running on
localhost:4000/graphqlwith the GraphQL playground.
Check out the official Apollo Server documentation for more information.