This repo demonstrates hosting multiple graphql endpoints using shared and specific resources per endpoint
The api folder contains an express based API that defines two graphql endpoints.
the client folder contains a React application that uses two Apollo Client definitions at the root of each currency module folder that defines which graphql endpoints are used for graphql queries under each module.
- install Docker and Docker Compose
- run
docker-compose up
- navigate to http://localhost:4000