starwars-server

GraphQL Server setup with an example Star Wars schema

Usage no npm install needed!

<script type="module">
  import starwarsServer from 'https://cdn.skypack.dev/starwars-server';
</script>

README

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 http://www.graphql.org.

Installation

Clone the repository and run npm install

git clone https://github.com/apollographql/starwars-server
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.