/rails-graphql-federation-microservice

Rails microservice demo using apollo graphql federation

Primary LanguageRuby

Description

The whole tech stacks consists of the below services, read more about each in its respective README's:

  1. Event Service
  2. Person Service
  3. Gateway Service
  4. Nginx Reverse Proxy

Architecture Diagram

alt text

Running the stack locally

Event Service

open terminal 1

cd event_service
./start-app.sh

# (optional) Just to trace the logs
docker-compose up

Person Service

open terminal 2

cd person_service
./start-app.sh

# (optional) Just to trace the logs
docker-compose up

Gateway Service

open terminal 3

cd gateway_service
docker-compose up

Gateway Service

open terminal 4

cd nginx_reverse_proxy
docker-compose up

Then visit http://localhost/