GitTheGov legislative application
- TypeScript 96.5%
- CSS 2.5%
- Dockerfile 0.5%
- Shell 0.3%
- JavaScript 0.2%
| .forgejo/workflows | ||
| k8s | ||
| public | ||
| seed | ||
| src | ||
| .dockerignore | ||
| .gitignore | ||
| bun.lock | ||
| CLAUDE.md | ||
| docker-entrypoint.sh | ||
| Dockerfile | ||
| next.config.js | ||
| package.json | ||
| PLATFORM.md | ||
| README.md | ||
| schema.sql | ||
| tsconfig.json | ||
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 tok8s/deployment.yamlwith[skip ci]to break the loop..forgejo/workflows/preview.yml— builds a preview image on PR open and POSTscreate_previewto op-api, which lands a short-lived namespace..forgejo/workflows/cleanup.yml— fires on PR close, POSTsdelete_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.