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
cd
into thegraphql-server-example
folder and run the following commands:- Run
npm install
- Run
node index.js
- Run
- Open your browser and see the server running on
localhost:4000/graphql
with the GraphQL playground.
Check out the official Apollo Server documentation for more information.