DEV Community

Discussion on: Wanna play with GraphQL on an existing database

Collapse
 
ben profile image
Ben Halpern

I was an early adopter of GraphQL but haven't paid a lot of close attention since.

I can tell you that at the time I used GraphQL Ruby and it was a pretty simple process of mapping GraphQL queries to behavior/queries already available in the app.

PostGraphile looks like it sits lower in the stack and interfaces directly with the DB. To do it with more awareness of your app's context, looks like Graphene Python might do the trick.

Apollo looks like it cares more about the Vue side of things, so you'd probably use that in addition to whatever you're doing on the server.

I might not be fully caught up on GraphQL things, but that's my initial impression.

Collapse
 
danroc profile image
Daniel da Rocha

Apollo looks like it cares more about the Vue side of things, so you'd probably use that in addition to whatever you're doing on the server.

it seems Apollo originally does not have much to do Vue and has its own server and client tools. Apollo-Vue is an Apollo Client for a Vue application, which would then communicate with the Apollo Server.

I might want to ditch Python completely and keep everything within the Node environment, so it should be an interesting option...

Collapse
 
ben profile image
Ben Halpern

Yeah I must have been mistaken.

Node will probably have the best tooling and libs. If you're deadset on GraphQL and it's reasonable to change backends, Node seems like the right call.