No description
- TypeScript 91.4%
- CSS 7.7%
- Shell 0.6%
- Dockerfile 0.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
Check / check (pull_request) Successful in 1m42s
Test / test (pull_request) Successful in 1m9s
E2E / e2e (pull_request) Successful in 6m44s
Test / test (push) Successful in 1m2s
Check / check (push) Successful in 1m36s
Publish / publish (push) Successful in 1m49s
E2E / e2e (push) Successful in 4m18s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
| .forgejo | ||
| assets | ||
| components | ||
| deploy | ||
| docker | ||
| docs | ||
| e2e | ||
| islands | ||
| lib | ||
| locales/de | ||
| routes | ||
| scripts | ||
| static | ||
| test | ||
| .dockerignore | ||
| .env.example | ||
| .gitignore | ||
| CLAUDE.md | ||
| client.ts | ||
| deno.json | ||
| deno.lock | ||
| main.ts | ||
| README.md | ||
| utils.ts | ||
| vite.config.ts | ||
LVB – Leistungs- und Verhaltensbeschreibung
Web application for teachers to record behaviour and learning evaluations of students and to
produce the school's reports (PDF/Word). Built with Deno, Fresh 2 and PostgreSQL; deployed with
Docker Compose and operated with lvbcmd.
| Document | Content |
|---|---|
| docs/HANDBUCH.md | User handbook (German): teachers, class heads, administration |
| docs/OPERATIONS.md | Operator handbook (German): installation, updates, backups, recovery, IdP change |
| docs/SECURITY.md | Security and privacy model, threat model |
| docs/OPS-CONTRACT.md | Contract between the image and lvbcmd |
| docs/IMPLEMENTATION-PLAN.md | Plan and milestones |
| docs/decisions.md | Decision log |
Development
deno install
docker run -d --name lvb-pg -e POSTGRES_PASSWORD=postgres -p 127.0.0.1:55432:5432 postgres:17-alpine
export TEST_DATABASE_ADMIN_URL=postgres://postgres:postgres@127.0.0.1:55432/postgres
deno task check # fmt, lint, types, i18n guard
deno task test # unit + integration (real PostgreSQL)
e2e/run.sh # full stack in Docker + Playwright (PLAYWRIGHT_DOCKER=1 to run browsers in Docker)
Images
docker/Dockerfile builds two images:
| Target | Content |
|---|---|
runtime (default) |
Production: built web app, bundled worker/ops (runtime/*.js), catalogs, pg client, age – no sources, tests, node_modules or build tools |
dev |
Development container: full source and toolchain (vite, tests, mock IdP); never deployed |
docker build -f docker/Dockerfile --target dev -t lvb-dev .
# Tooling on the working tree (the image keeps its own node_modules):
docker run --rm -it -v "$PWD:/app" -v /app/node_modules lvb-dev deno task check
# Vite dev server on http://localhost:5173 (needs the variables of .env.example):
docker run --rm -it -p 5173:5173 --env-file .env -v "$PWD:/app" -v /app/node_modules lvb-dev
e2e/run.sh builds both, runs the mock IdPs from the dev image and fails if the production
image contains anything besides _fresh/, locales/ and runtime/.
Conventions are in CLAUDE.md. Real school data (*.xlsx, *.docx, the prototype)
must never be committed; tests use synthetic fixtures (test/fixtures/).