Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 1.31 KB

README.md

File metadata and controls

50 lines (34 loc) · 1.31 KB

Examples

Schema registry, federated gateway, two services (hard-coded URLs)

Directories in use

  • gateway_service_hard_coded_urls
  • federated_service_a
  • federated_service_b

nvm use
npm install
npm run build
docker-compose up
  • Start gateway_service (not dockerized)
cd gateway_service_hard_coded_urls && 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

Schema registry, federated gateway, two services (dynamic URLs)

Same as above, except that gateway takes URLs from schema-registry

Directories:

  • gateway_service_managed_federation
  • federated_service_a
  • federated_service_b