demo-app/README.md
Noah Holt e718ac2312
All checks were successful
/ checks (push) Successful in 40s
/ deploy (push) Successful in 6s
ci: use https://git.lab.holtlabs.xyz for workflows and registry (Plan 12)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 11:55:06 -06:00

718 B

demo-app

Minimal TypeScript microservice proving out the homelab CI/CD pipeline:

push to main
  -> Forgejo Actions (nholtware/workflows composite actions)
       checks:  npm ci + lint + test          (docker label)
       build:   docker build + push           -> git.lab.holtlabs.xyz/nholtware/demo-app:<sha>
       deploy:  kustomize edit set image      -> commit to nholtware/gitops
  -> ArgoCD syncs gitops -> k3s
  -> served by Traefik at Host: demo-app.k3s.local

Endpoints

  • GET / — JSON with service name, git sha, pod hostname
  • GET /healthz — liveness/readiness probe target

Local dev

npm ci
npm test
npm run build && npm start   # listens on :3000 (PORT to override)