swapi-graphql

A GraphQL wrapper for swapi.com


Keywords
graphql, swapi, swapi-graphql
License
BSD-3-Clause
Install
npm install swapi-graphql@0.0.6

Documentation

SWAPI GraphQL Wrapper

A wrapper around SWAPI built using GraphQL.

Uses:

Try it out at http://graphql-swapi.parseapp.com/.

Getting Started

Install dependencies with

npm install

SWAPI Wrapper

The SWAPI wrapper is in ./swapi. It can be tested with:

npm test

Local Server

A local express server is in ./server. It can be run with:

npm start

A GraphiQL instance will be opened at http://localhost:8080/ to explore the API.

Parse Server

A parse server is in ./parse. After adding a parse/src/config/global.json file, it can be deployed with:

npm run deploy

A sample deploy is at http://graphql-swapi.parseapp.com/