GitTheGov citizen-portal application
  • TypeScript 98.7%
  • JavaScript 0.4%
  • CSS 0.4%
  • Dockerfile 0.3%
  • Shell 0.2%
Find a file
opadmin 210deb90b7
Some checks failed
preview.yml / chore: retrigger deploy (push) Failing after 0s
build-and-deploy / build (push) Failing after 3h14m51s
chore: retrigger deploy
2026-04-24 02:33:21 +00:00
.forgejo/workflows perf: use pre-built runner image (skip apt-get) 2026-04-23 15:32:36 -05:00
k8s fix(deploy): template cert-manager cluster-issuer from vars/domain (#2) 2026-04-21 17:49:27 +00:00
public feat: upgrade template to full-stack Next.js with DB/S3/auth wiring 2026-04-18 11:20:02 -05:00
seed feat: upgrade template to full-stack Next.js with DB/S3/auth wiring 2026-04-18 11:20:02 -05:00
src feat: migrate from turborepo to standalone open-platform app 2026-04-22 09:37:15 -05:00
.deploy-trigger chore: re-trigger deploy (MTU fix applied) 2026-04-22 19:56:40 -05:00
.dockerignore feat: upgrade template to full-stack Next.js with DB/S3/auth wiring 2026-04-18 11:20:02 -05:00
.gitignore fix: add bun.lock, remove lockfile gitignore 2026-04-23 15:40:54 -05:00
bun.lock fix: add bun.lock, remove lockfile gitignore 2026-04-23 15:40:54 -05:00
CLAUDE.md docs: put file-proxy route at src/app/files/ (not under /api/) 2026-04-21 18:52:53 -05:00
docker-entrypoint.sh apply schema.sql at container start; postgresql-client in runner 2026-04-18 11:58:00 -05:00
Dockerfile fix: use oven/bun base image (bun pre-installed) 2026-04-23 21:21:00 +00:00
next.config.js harden template: DBOS SDK helper, next.config externals, pivot guide 2026-04-21 18:44:24 -05:00
package.json feat: switch to bun, bump lucide-react for React 19 compat 2026-04-23 15:40:39 -05:00
PLATFORM.md feat: upgrade template to full-stack Next.js with DB/S3/auth wiring 2026-04-18 11:20:02 -05:00
postcss.config.js feat: migrate from turborepo to standalone open-platform app 2026-04-22 09:37:15 -05:00
README.md chore: retrigger deploy 2026-04-24 02:33:21 +00:00
schema.sql feat: migrate from turborepo to standalone open-platform app 2026-04-22 09:37:15 -05:00
tailwind.config.js feat: migrate from turborepo to standalone open-platform app 2026-04-22 09:37:15 -05:00
tsconfig.json feat: upgrade template to full-stack Next.js with DB/S3/auth wiring 2026-04-18 11:20:02 -05:00

template

Reference app template for the platform. Next.js 15 + React 19, with first-class access to the platform's provisioned resources:

  • Postgres — per-app database, connection string in DATABASE_URL
  • S3/MinIO — per-app bucket, creds in S3_ACCESS_KEY / S3_SECRET_KEY
  • Forgejo OAuth — OIDC-via-better-auth, creds in AUTH_FORGEJO_*

Created from this template by create_app (op-api MCP tool), which provisions a fresh namespace, database, bucket, and OAuth application automatically.

Workflows

  • .forgejo/workflows/deploy.yml — builds on push to main, pushes image to the in-cluster registry, and writes the new SHA back to k8s/deployment.yaml with [skip ci] to break the loop.
  • .forgejo/workflows/preview.yml — builds a preview image on PR open and POSTs create_preview to op-api, which lands a short-lived namespace.
  • .forgejo/workflows/cleanup.yml — fires on PR close, POSTs delete_preview.

Local development

bun install
bun run dev   # http://localhost:3000

See PLATFORM.md for the platform contract and CLAUDE.md for how to work with this codebase.