/swapi-graphql

A GraphQL schema and server wrapping SWAPI with additional filters.

Primary LanguageJavaScriptMIT LicenseMIT

FRONTASTICS SWAPI GraphQL Wrapper

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

Uses:

Try it out at: https://frontastic-swapi-graphql.netlify.app

Getting Started

Install dependencies with

npm install

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:

npm start

Making Changes

To see your changes you have to built it also for development. It can be run with:

npm run dev

A GraphiQL instance will be opened at http://localhost:3000/ (will be printed to the console) to explore the API.