Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I use GraphQL to execute Gremlin queries?

I have a backend service with Gremlin and Amazon Neptune. I would like to provide a GraphQL endpoint to execute queries in Neptune. I found an old hackathon project that might works. But, I would like to know if there is a better way to achive it.

like image 882
cmaluenda Avatar asked Oct 16 '25 15:10

cmaluenda


1 Answers

The way I have done it is to define a schema using AWS AppSync and to have AppSync call Lambda resolvers that use Gremlin Python. AppSync provides a fully managed GraphQL server environment. The Lambda Python code makes Neptune calls and returns the data to AppSync. For my use case it worked very well. I am aware of several other people using the same approach.

like image 141
Kelvin Lawrence Avatar answered Oct 18 '25 15:10

Kelvin Lawrence



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!