Simple pizza GraphQL monorepo application. The deployed client is available on pizza-graphql.netlify.app. GraphQL server is deployed to pizza-graphql.vercel.app/graphql.
Client:
GraphQL Server:
- NodeJS
Client:
cd client
yarn
yarn start
Go to the client page: localhost:3000
Server:
cd server
npm install
npm run dev
Go to the GraphQL playground: localhost:3001/graphql
Client is React (CRA) app. Build the app and deploy to any server and set up the only requred variable:
REACT_APP_GRAPHQL_SERVER = graphql server url
GraphQL server doesn't require build step and can be deployed to any server. Set up CLIENT variable to point to the client URL:
CLIENT = client url