mikesol / swapi-graphql

A GraphQL schema and server wrapping SWAPI.

Home Page:http://graphql.org/swapi-graphql/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SWAPI GraphQL Wrapper

A wrapper around SWAPI built using GraphQL converting it into this schema.

Uses:

Try it out at: http://graphql.org/swapi-graphql

Deploy to Heroku Deploy to now

Getting Started

Install dependencies with

yarn

SWAPI Wrapper

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

yarn test

Local Server

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

yarn build # Only if you changed something
yarn start

A GraphiQL instance will be opened at http://localhost:8080/ (or similar; the actual port number will be printed to the console) to explore the API.

About

A GraphQL schema and server wrapping SWAPI.

http://graphql.org/swapi-graphql/

License:Other


Languages

Language:JavaScript 93.3%Language:HTML 5.2%Language:Shell 1.5%