Skip to content
Building Microservices using Apollo-federation
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore user service logics Sep 6, 2019 added readme Sep 7, 2019
apollo_federation.png added readme Sep 7, 2019
federation_demo.PNG added readme Sep 7, 2019
gateway.js comment user relationship logic Sep 7, 2019
package-lock.json post service logics Sep 7, 2019

Building Microservice using Apollo Federation

This repository is a demo of building microservices using Apollo federation. Apollo federation build a single schema in gateway which stitch all the services.All the microservices are in ./services folder.

It contains the simple blog microservices user , post and comment services which gets connected using gateway



User Service

 $ cd services/UserService
 $ npm install
 $ npm run dev 

Post Service

$ cd services/PostService
$ npm install
$ npm run dev

Comment Service

$ cd services/CommentService
$ npm install
$ npm run dev


$ npm install

This will install all of the dependencies for the gateway and each underlying service

Running API Gateway

$ npm run start-gateway
You can’t perform that action at this time.