- Start graphql-schema-registry. Wait until DB & UI work at http://localhost:6001/
nvm use
npm install
npm run build
docker-compose up
- Start gateway_service (not dockerized)
cd gateway_service && npm install && node index.js
- (In separate terminals) Start federated services
cd federated_service_a && npm install && node index.js
cd federated_service_b && npm install && node index.js
-
Check graphql-schema-registry UI. It should contain now schema from both services http://localhost:6001/
-
Open gateway's playground UI in the browser and try to make request to both services http://localhost:6100