starwars-test-graphql-server
GraphQL Server with an example Star Wars schema
Last updated 2 years ago by micimize .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install starwars-test-graphql-server 
SYNC missed versions from official npm registry.

Star Wars testing server

npm install starwars-test-graphql-server and npm starwars-test-graphql-server gets you a testing server on port process.env.PORT || 8080. The base data can be found in data.json and the schema in schema.graphql. Use for validating your graphql clients, writing example apps, etc.

This is mostly unchanged from it's upstream counterpart, I just wanted it bundled and published as a module with the data and schema decoupled.

Example server details:

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.

Current Tags

  • 0.2.0-alpha3                                ...           latest (2 years ago)

3 Versions

  • 0.2.0-alpha3                                ...           2 years ago
  • 0.2.0-alpha2                                ...           2 years ago
  • 0.2.0-alpha1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |