GraphQL Server setup with an example Star Wars schema

Usage no npm install needed!

<script type="module">
  import starwarsServer from '';


Star Wars example server

This is a really simple GraphQL server that uses Apollo Server and GraphQL Tools to serve the Star Wars example schema from


Clone the repository and run npm install

git clone
cd starwars-server
npm install

Starting the server

npm start

The server will run on port 8080. You can change this by editing server.js.