forked fromgraphql/swapi-graphql
- Notifications
You must be signed in to change notification settings - Fork0
A GraphQL schema and server wrapping SWAPI.
License
NotificationsYou must be signed in to change notification settings
robin536180/swapi-graphql
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A wrapper aroundSWAPI built using GraphQL.
Uses:
- graphql-js - a JavaScript GraphQL runtime.
- DataLoader - for coalescing and caching fetches.
- express-graphql - to provide HTTP access to GraphQL.
- GraphiQL - for easy exploration of this GraphQL server.
Try it out at:http://graphql.org/swapi-graphql
Install dependencies with
npm install
The SWAPI wrapper is in./swapi. It can be tested with:
npmtestA local express server is in./server. It can be run with:
npm run build# Only if you changed somethingnpm startA GraphiQL instance will be opened athttp://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.
Resources
License
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Languages
- JavaScript93.8%
- HTML4.6%
- Shell1.6%