Skip to content

ChrisMLee/swapi-graphql

 
 

Repository files navigation

SWAPI GraphQL Wrapper

A wrapper around SWAPI built using graphql-js, with GraphiQL included for easy exploration.

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

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/graphiql 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/graphiql/

About

A GraphQL schema and server wrapping http://swapi.co/.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.6%
  • HTML 7.4%