description: Copy and paste this code to have a GraphQL server running in 30 seconds.
---
Here's a complete example that sets up a GraphQL server with `apollo-server-express` and `graphql-tools`. First, make sure to install the necessary modules:
console.log('Go to http://localhost:3000/graphiql to run queries!');
});
```
To understand the example, read the docs about Apollo Server here, and also learn how to make a GraphQL schema in the [graphql-tools docs](https://www.apollographql.com/docs/graphql-tools/).