Sign inSign up

acao/swapi-graphql

By acao

•Updated over 7 years ago

Image
0

100K+

acao/swapi-graphql repository overview

⁠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

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 run build # Only if you changed something
npm 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.

Tag summary

Content type

Image

Digest

Size

103 MB

Last updated

over 7 years ago

docker pull acao/swapi-graphql