01/20/2018, 2:55 PM
I have done a prisma installation on a Digital Ocean server... and trying to set-up a project which is working fine on my local machine... I'm more geared towards looking fora production grade installation. So I ran
prisma deploy
npm start
... but how do I access the graphql endpoint to be consumed by a react app hosted on another server... On my local machine after doing the same steps, I'm able to introspect the schema on graphiql at http://localhost:4000/ however this does not work on the hosted DO instance. Can someone shed some light please?
http😕/<DO_IP>:4000/ does not work... curl shows playground html file