MarvelQL allows you to send GraphQL queries to Marvel’s REST API to get information about characters, comic series, stories, creators and much more.
- Query information from Marvel REST endpoints. Here’s a full list of endpoints that can be queried: https://developer.marvel.com/docs
- Documentation explaining how to use each endpoint and which arguments can be added to queries
- Deployment to GraphQL Playground so that you can test queries right away
Make sure you are running Node version 8.10.0
Install using yarn
yarn
Run the server with yarn start
yarn start
A Playground instance will be opened at http://localhost:4000/ (the port number will be printed to the console) to explore the API.
Send a query in GraphQL playground to get a list of characters and information about them.
{
characters {
id
name
description
}
}
Get specific information about one character. Try nesting queries to get more information comics that character is in.
{
getCharacter(where: { name: "Iron Man" }) {
id
name
description
comics {
name
}
}
}
Explore the docs and try out different queries.
We have plans to keep improving MarvelQL. Here's what is next:
- Improve the speed of queries
- Implementation with Hasura, Neo4j, and Elm
This is an open source project. To learn how to contribute, please check out our contributing guide.
MIT © Novvum
Made with ❤️ by Novvum