Member-only story

An introduction to Apollo Federation in NestJS

Marcos Henrique da Silva
9 min readNov 11, 2022

A practical guide for using NestJS to create GraphQL apps with Apollo Federation on top of it

Picture from Mo Eid: https://www.pexels.com/pt-br/foto/3d-abstrato-resumo-abstrair-8347499/

Hello and welcome! In this article we are going to talk about Apollo Federation, microservices, GraphQL and all using NestJS

In a previous article I wrote about API Gateway and REST microservices using NestJS and I decided why not write about the other way around, with GraphQL and Apollo Federation

This is an introductory topic and you definitely can use Apollo Federation without using NestJS… In any case by the end of the article you should be comfortable on using NestJS to manage both GraphQL and your Apollo Federation as a Gateway.

Before we start…

This article might be slightly more advanced for who never worked with NestJS. If you are new to NestJS and GraphQL I would recommend to read my previous article first:

That said, basic concepts you might need to follow up this article are:

  • Basic Typescript knowledge

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Responses (5)

Write a response