pasa
05/03/2018, 8:55 PMnew Prisma
statement in the index.js of the graphql server).
The playground is disabled (it should not be visible to anyone).
I have a managementApiSecret in the PRISMA_CONFIG, which is also in the .env to protect the deployment process (which is probably not necessary, as the container is running locally as mentioned earlier).
GraphQl server:
Standard graphql server using yoga.
The only thing of my api, that is actually exposed (accessible from outside), runs on the same machine, as the prisma server and accesses the service via localhost.
Currently only accessible via hostip.port
after being started with yarn start
, but will be set up as node.js server (w/ daemon) and managed via nginx. I will also setup a ssl cert for this and direct a subdomain (like api.example.com) of my maindomain to this server and route that trough to the port of the running node.js server.
What do you think?
Did I forget anything?
Should I pay attention to something?
Whats your opinion?
Thanks in advance! 😉dpetrick
05/04/2018, 8:12 AM