Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1.06 KB

README.md

File metadata and controls

21 lines (14 loc) · 1.06 KB

Chimp Gql Federation Example

Please read docs at https://chimpjs.com to learn about this Repository.

Structure

This repository consists of 6 independent packages:

  • graphql-gateway TypeScript thin layer powered by Apollo Gateway
  • graphql-todo-items TypeScript Federated Graph responsible for Todo Items (and extending Lists)
  • graphql-todo-lists TypeScript Federated Graph responsible for Todo Lists
  • microservice-todo-items Kotlin Spring Microservice responsible for operations related to Todo Items
  • microservice-todo-lists Kotlin Spring Microservice responsible for operations related to Todo Lists
  • web React Frontend - a playground frontend that works with this architecture even though it was written over multiple years for a monolithic GraphQL / MongoDB server - but since the GraphQL Schema matches our Federated, it works just fine.

Setup

npm install

Make sure you have docker running. Then start all the projects including a dockerized instance of mongodb.

npm start