lhmzhou / zugzwang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zugzwang

This project consists of 6 distinct applications or services that together, make the catstronaut supergraph:

  • front-end: The catstronaut React application from the liftoff series
  • subgraph-tracks: This was previously the server in the lift-off series, but converted to a subgraph.
  • subgraph-reviews: A net new subgraph for handling review data.
  • apollo-router: Basic router config setup.
  • rest-reviews-api: This API is the source of truth for review data or our application. This project is intended to represent 2 different APIs: One for review resource data and another for metrics. It's combined in the same app for simplicity sake, but we'll treat this as two separate APIs during the workshop.
  • postgres database: In addition to the above packages, the provided docker-compose.yaml file will also spin up a local postgres database and pre-populate it with review data on start up.

Prerequisites

You will need:

Getting Started

To spin up this project:

docker compose up

or

docker compose up -d

The first time you run the command, it may take a while to download all of the dependencies. The services are defined in the docker-compose.yaml file (default file name and path)

Visit the local URLs to confirm things are working:

Test running apps

About


Languages

Language:JavaScript 96.1%Language:HTML 2.4%Language:Dockerfile 1.5%