Skip to content

kmills006/disney-apollo-federation

Repository files navigation

disney-apollo-federation

Playground repo for implementing a single graph for the Touring Plans API in GraphQL. This originally started as a quick demo demonstrating Apollo Federation and has now turned into a repo for me to learn new languages.

Objective

  • Build four GraphQL API's that are composed into a single graph for Touring Plans
    • Parks
    • Attractions
    • Dining
    • Hotels
  • Build the backend in different languages
  • Build a React frontend to display to query and display this data using Apollo Client

Running

Running the backend

Services

$ cd services/<service-name>
$ yarn install
$ yarn dev

Running the frontend

TODO

Running the Gateway (Apollo Gateway)

$ cd gql-gateway
$ yarn install
$ yarn dev

Running With Docker

In Development:

$ docker compose build
$ docker compose up

In Production:

$ docker compose -f docker-compose.yml -f docker-compose.prod.yml build
$ docker compose -f docker-compose.yml -f docker-compose.prod.yml up

TODO

  • Python backend
  • Frontend
  • Dockerize project
  • Scala backend
  • Node tests

Original README

Demo GraphQL server connected to multiple GraphQL services using the new Apollo Federation package