You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm fairly new to JS/TS client-server development. Pardon my choice of words.
@leebenson
ReactQL seems to be a great starter for client. Thanks for your efforts.
I already started exploring it and wondering if there is an example of hooking up a MongoDB-GraphQL server?
I'm asking this since ReactQL as frontend starter has made some great choices in terms of developer productivity. I would want to ease the server development as well.
You'd basically create a /graphql endpoint (or whatever you want to call it), and add in either the GraphQL reference implementation, or a more complete framework like Apollo Server to handle your queries.
Adding MongoDB would be a case of applying that logic inside the GraphQL resolver, based on whatever business rules make sense. You could use an ORM or the standard MongoDB lib for this.
Hi,
I'm fairly new to JS/TS client-server development. Pardon my choice of words.
@leebenson
ReactQL seems to be a great starter for client. Thanks for your efforts.
I already started exploring it and wondering if there is an example of hooking up a MongoDB-GraphQL server?
I'm asking this since ReactQL as frontend starter has made some great choices in terms of developer productivity. I would want to ease the server development as well.
Any recommended starter projects exist for Mongo-GraphQL? I was able o find following but not sure how could I hook them in the ReactQL project.
https://github.com/the-road-to-graphql/fullstack-apollo-react-boilerplate
https://github.com/arackaf/mongo-graphql-starter
The text was updated successfully, but these errors were encountered: