Skip to content

relizaio/card-shuffle-claude

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

100 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

card-shuffle

Demo monorepo for the Mafia card-shuffle game, used to exercise ReARM's programmatic feature-set switching and PR-blocking flows.

Layout

Path Source What it is
mafia-vue/ taleodor/mafia-vue Vue 3 frontend (Dockerfile + Nginx)
mafia-express/ taleodor/mafia-express Node/Express backend (Dockerfile)
mafia-helm/ relizaio/helm-charts mafia/ Helm chart wiring the two services + redis

CI

.github/workflows/build.yml runs on every push and submits build metadata + SBOMs for all three components. Container images are pushed to registry.test.relizahub.com/a98e122c-3265-43da-b73d-ce21f49c397a-public and the helm chart is OCI-pushed to the same namespace. create_component is on so the components self-provision on first build.

Both relizaio/rearm-docker-action and relizaio/rearm-helm-action are pinned to @main for the duration of this demo.

Secrets used

  • DOCKER_LOGIN, DOCKER_TOKEN — registry auth (provisioned on the repo)
  • REARM_API_ID, REARM_API_KEY — FREEFORM key for the ReARM org

Local development

Run the Vue frontend on its own (mock backend, no redis required):

cd mafia-vue
npm install
npm run dev

The dev server listens on the port printed by Vite (typically 5173) and hot-reloads on save. The component tree mirrors the deployed Nginx build — see mafia-vue/src/components/.

For the Express backend, see mafia-express/node app.js after npm install and a local redis (port 6379) is enough; the helm chart sets REDIS_HOST so the two halves can find each other in-cluster.

Bringing the whole stack up locally

The mafia-helm/ chart works against a local kind / k3d / minikube cluster too — see the chart's values.yaml for the env vars (registry image tags, redis host) that you'll typically want to override for a loopback deploy.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Vue 60.0%
  • JavaScript 35.5%
  • Dockerfile 2.3%
  • HTML 2.2%