This is a modified project from the Udemy course Code GraphQL Application : Java Spring Boot 3 & Netflix DGS - Timotius Pamungkas.
This project was done just for demonstration purposes.
The repository contains three services:
products
: Java GraphQL service running on port 8081sales
: Java GraphQL service running on port 8080apollo-gw
: Node.js service of Apollo Server acting as the Federated Gateway running on port 4000
- Have running postgres database
- Set products-application.yml and sales-application.yml datasource url
- Start both
products
andsales
apps - Run
npm install
in theapollo-gw
project - Run
npm start
ornode index.js
in theapollo-gw
project - Open http://localhost:4000 for the query editor