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

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

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

Thanks mate!

Collapse
 
tristankalos profile image
Tristan Kalos

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