Join Slack
Powered by
Im looking for a best practice server example to f...
# prisma-whats-new
p
philip
11/30/2017, 8:47 PM
Im looking for a best practice server example to follow for my react app im building. It needs authentication(social, email/password), crud actions, and i need to set up elasticsearch for a complex search and filter page. Anyone know of one?
a
antoineg
11/30/2017, 10:42 PM
New here, did you checked
https://www.graph.cool/docs/tutorials/
?
antoineg
11/30/2017, 10:43 PM
For your elasticsearch feature you will need to use a Resolver
antoineg
11/30/2017, 10:43 PM
https://www.graph.cool/docs/reference/functions/resolvers-su6wu3yoo2/
antoineg
11/30/2017, 10:44 PM
For the backend side you should only implement what you cannot handle with graphcool db ... elasticsearch
antoineg
11/30/2017, 10:44 PM
So you could directly hit your elasticsearch server if all the data is public
p
philip
11/30/2017, 11:03 PM
yeah somewhat new. im guessing i would need to use a API Gateway in order to run the elasticsearch server
n
nilan
12/01/2017, 10:47 AM
great use case to discuss in
#graphql-gateway
@philip
🙂
Open in Slack
Previous
Next