is there any tutorial of using gremlin (tinkerpop) with flask api

I want to use this for an app i am working on
5 Replies
spmallette
spmallette2y ago
There are no such tutorials that are officially managed by TinkerPop and while I feel like I've seen one in the past, it would be very old and perhaps not relevant. @Kelvin Lawrence any thoughts on this one?
Marksog
MarksogOP2y ago
any info you have will be helpful
gdotv
gdotv2y ago
I'd suggest you get yourself familar with how to do create /read/update/delete of vertices and edges in Gremlin using python. Once you're more confident with the language try and design your flask api around the needs of your app - e.g if you plan to have "person" vertices (for example) with an edge "knows" to other person vertices, it would make sense for your Api to have a create person api call, and a delete person, update and maybe list persons, etc. Similarly would make sense to have api calls to create/delete "knows" edges between your person vertices. In this whole design your vertex/edge ids would be the unique identifier of your objects, much like a primary key in a sql table or an object identifier in a nosql document
kelvinl2816
kelvinl28162y ago
A few years ago I built a Flask server implementation that provided a REST-like API that could call a backend TinkerPop (Gremlin) server. Is there anything specifically you are looking for help with?
Marksog
MarksogOP2y ago
thanks for your help this works
Want results from more Discord servers?
Add your server