Skip to content

A Tic Tac Toe game built with an excessive number of microservices

License

Notifications You must be signed in to change notification settings

theothertomelliott/tic-tac-toverengineered

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tic-tac-toverengineered

Release Tests Maintainability Test Coverage

A simple Tic Tac Toe game build with an excessive number of microservices.

Screenshot of a game

Goal

To provide an easy to understand project with a non-trivial number of microservices to try out monitoring, tracing and observability tooling.

Architecture

Architecture diagram Diagram in D2 Playground

Technologies

Building and Running Locally

You can run all deployments locally using Tilt. Open a terminal in the root directory of the repo and run:

tilt up

This will build all containers and deploy a Helm chart to your current Kubernetes context, forwarding the web UI to port 8080 on localhost.

Tilt will also automatically run unit tests on any change to the source.

Deployment

A Helm chart has been provided for direct deployment. To deploy from the command line:

helm repo add tic-tac-toverengineered \
    https://theothertomelliott.github.io/tic-tac-toverengineered/

helm repo update

helm install \
    --create-namespace --namespace tictactoe \
    tic-tac-toverengineered/tic-tac-toe --generate-name