nodejs/gremlin js: evaluate and execute user query

78 views
Skip to first unread message

Phil Crosland

unread,
Feb 19, 2022, 11:36:51 PM2/19/22
to Gremlin-users
I scratching together a nodejs app to run a simple visualization system - its nodejs on a ec2 instance which connects to the neptune server. I am fine for basic queries/click expand via a crud api but I really would like to be able to enter arbitrary gremlin queries to troubleshoot issues. In java I remember there was a groovyscriptevaluator or similar which would execute a query - is there something similar for javascript? other approaches/recommendations?

Thanks in advance

phil

gdotv (Arthur)

unread,
Feb 20, 2022, 1:43:12 AM2/20/22
to Gremlin-users
Hi Phil, 

Here's an example on an existing open source project in Javascript similar to what you're trying to achieve:  https://github.com/prabushitha/gremlin-visualizer/blob/master/proxy-server.js
Alternatively you can also use https://gdotv.com for free at the moment and it will allow you to do exactly what you're looking for Amazon Neptune (and others) out of the box. 

Regards, 
Arthur from gdotv

Phil Crosland

unread,
Feb 21, 2022, 2:06:35 AM2/21/22
to Gremlin-users
Thanks - will check it out!
Reply all
Reply to author
Forward
0 new messages