No description
Find a file
2026-11-05 01:05:36 -06:00
.forgejo/workflows feat: actions should run on pr now 2026-08-11 06:41:07 -05:00
.github/workflows Exclude main/master from push triggers 2026-08-11 00:27:51 -05:00
src feat: add sequelize with postgres UTC timestamp endpoint 2026-08-11 00:15:40 -05:00
.dockerignore Initial commit 2026-08-10 21:44:23 -05:00
.env.example feat: add sequelize with postgres UTC timestamp endpoint 2026-08-11 00:15:40 -05:00
.gitignore Initial commit 2026-08-10 21:44:23 -05:00
.nvmrc Add prettier/eslint/commitlint config and wire up lint-checks CI 2026-08-10 22:55:14 -05:00
.prettierignore Add prettier/eslint/commitlint config and wire up lint-checks CI 2026-08-10 22:55:14 -05:00
.prettierrc.json Add prettier/eslint/commitlint config and wire up lint-checks CI 2026-08-10 22:55:14 -05:00
commitlint.config.js Add prettier/eslint/commitlint config and wire up lint-checks CI 2026-08-10 22:55:14 -05:00
Dockerfile Initial commit 2026-08-10 21:44:23 -05:00
eslint.config.js Add prettier/eslint/commitlint config and wire up lint-checks CI 2026-08-10 22:55:14 -05:00
package-lock.json feat: add sequelize with postgres UTC timestamp endpoint 2026-08-11 00:15:40 -05:00
package.json feat: add sequelize with postgres UTC timestamp endpoint 2026-08-11 00:15:40 -05:00
README.md docs: composite actions wording 2026-08-10 22:10:37 -05:00
tsconfig.json Initial commit 2026-08-10 21:44:23 -05:00
vitest.config.ts refactor: migrate from node:http to Express with Express.js tests 2026-08-10 23:03:24 -05:00

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           -> 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)