No description
Find a file
Noah Holt 5d4f3c0965
Some checks are pending
/ checks (push) Waiting to run
/ deploy (push) Blocked by required conditions
Initial commit
2026-08-10 21:44:23 -05:00
.forgejo/workflows Initial commit 2026-08-10 21:44:23 -05:00
src Initial commit 2026-08-10 21:44:23 -05:00
.dockerignore Initial commit 2026-08-10 21:44:23 -05:00
.gitignore Initial commit 2026-08-10 21:44:23 -05:00
Dockerfile Initial commit 2026-08-10 21:44:23 -05:00
package-lock.json Initial commit 2026-08-10 21:44:23 -05:00
package.json Initial commit 2026-08-10 21:44:23 -05:00
README.md Initial commit 2026-08-10 21:44:23 -05:00
tsconfig.json Initial commit 2026-08-10 21:44:23 -05:00

demo-app

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

push to main
  -> Forgejo Actions (nholtware/workflows reusable workflows)
       checks:  npm ci + lint + test          (docker label)
       build:   docker build + push           -> 192.168.1.230:3000/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)