DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Cover image for Graphman: generate a postman collection for any GraphQL endpoint
Tristan Kalos
Tristan Kalos

Posted on

Graphman: generate a postman collection for any GraphQL endpoint

tl;dr we released github.com/Escape-Technologies/graphman, a free and open source tool that generates a Postman collection for any GraphQL endpoint in seconds πŸ‘¨β€πŸš€

We use GraphQL with Postman a lot in our team. GraphQL is pretty verbose and we found it quite painful to write all the queries by hand when interacting with any new endpoint.

So we created Graphman, a tiny utility that uses GraphQL's introspection capability to generate a full Postman collection for any GraphQL endpoint.

Happy to release this to the community as a free and open source dev tool 🀟

Link to the repo: https://github.com/Escape-Technologies/graphman

If you use GraphQL, feel free to help us by staring and contributing 🀩

Top comments (5)

Collapse
jmfayard profile image
Jean-Michel Fayard πŸ‡«πŸ‡·πŸ‡©πŸ‡ͺπŸ‡¬πŸ‡§πŸ‡ͺπŸ‡ΈπŸ‡¨πŸ‡΄ • Edited on

That seems like something that is totally needed.

GrapphQL being a standard, I feel like it should nothing in it is specific to Postman no ? Apart from the very last step where you store the queries in the Postman collection format.

I use insomnia.rest/ and the GraphQL plugin for IntelliJ

If you have an option to write the queries simply in a plain folder with plain some-query.graphql files, I would totally use it.

EDIT: converted comment to an issue github.com/Escape-Technologies/gra...

Collapse
tristankalos profile image
Tristan Kalos Author

Indeed, actually it's already compatible with insomnia through Postman collections, but I saw that you added an issue for broader support and that's definitely something we will do

Collapse
joelbonetr profile image
JoelBonetR

Nice project! 😁

Collapse
tristankalos profile image
Tristan Kalos Author

Thanks mate!

Collapse
tristankalos profile image
Tristan Kalos Author

As always, we are very reactive as maintainers so do not hesitate to open issues! πŸ’ͺ

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.