graphql/swapi-graphql
graphql/swapi-graphql has 1,063 GitHub stars and 268 forks. Star changes are not measured yet. Last checked 2026-11-09 11:17 UTC. Last push 2026-05-25.
A GraphQL schema and server wrapping SWAPI.
Measured star growth
- in 24h
- Update delayed
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalSWAPI GraphQL Wrapper
A wrapper around SWAPI built using GraphQL converting it into this schema.
Uses:
- graphql-js - a JavaScript GraphQL runtime.
- DataLoader - for coalescing and caching fetches.
- express-graphql - to provide HTTP access to GraphQL.
- aws-serverless-express - to use
express-graphqlon aws lambda. - GraphiQL - for easy exploration of this GraphQL server.
Try it out at: http://graphql.org/swapi-graphql
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
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.
Contributing to this repo
This repository is managed by EasyCLA. Project participants must sign the free (GraphQL Specification Membership agreement before making a contribution. You only need to do this one time, and it can be signed by individual contributors or their employers.
To initiate the signature process please open a PR against this repo. The EasyCLA bot will block the merge if we still need a membership agreement from you.
You can find detailed information here. If you have issues, please email [email protected].
If your company benefits from GraphQL and you would like to provide essential financial support for the systems and people that power our community, please also consider membership in the GraphQL Foundation.
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
561,582 starspublic-apis/public-apis
A collective list of free APIs
497,899 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
449,608 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,302 stars