This is a React app with GraphQL using express-graphql server, MongoDB and apollo-client.
You can add, delete and update the data.
and define variables like example below.
NODE_ENV='development'
PORT=4000
MONGO_URI='Your MongoDB URL'
NODE_ENV and PORT is optional but MONGO_URI is necessary.
and define REACT_APP_GRAPH_HOST variable.
REACT_APP_GRAPH_HOST='your server adress/graphql'
Normally this value will be set to "http:localhost:[PORT]/graphql", while you're developing. But once you deploy your server, you need to change this value with the real adress(you can set the values on the hosting provider's site if they provid this function).
run this code in the project root, and under frontend folder too.
For development, it will run both of the server and the client.


