Skip to content

Example of federated services using Apollo Federation 2

Notifications You must be signed in to change notification settings

tsoisauce/federation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Federation

Example of federated services utilizing Apoolo Federation 2

Concept

Apollo Federation allows us to connect various GraphQL Schema into a unified gateway where all clients can interact with this gateway. This allows easy implimentation of microservices, as long as your service utlizes GraphQL, a unified graph can be created.

to start: yarn start

Installation

Zero setup with remote containers

Easiest way to get this project up and running is via VScode's Dev Containers. This is essentially creating a local environment within a Docker container. This reduces the need to setup your local machine and allow consistency when sharting projects. To get started, make sure you have:

Details on how to develop inside a container

You can also install this by traditional means, using yarn/npm and your favorite virtual environment

Workflow

Be sure to install all necessary packages within the root folder by running yarn, this will install commitizen (for consistant commit messaging) and concurrently (to run multiple npm commands).

To start project, run:

yarn start

TODO: Dockerfy and deploy services

About

Example of federated services using Apollo Federation 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published