Where an invited applicant applies for a WinLab account. It has no database and no sign-in: it renders forms and hands every decision to the portal through one module, lib/portal.ts.
bun install
cp .env.example .env.local # fill in the values below
bun run dev| Variable | Purpose |
|---|---|
PORTAL_URL |
The portal that answers applications, https://portal.winlab.tw. |
APPLY_SERVICE_KEY |
This site's service key, issued by a portal admin. |
PASSWORD_RESET_URL |
Keycloak's forgot-password page, linked from the finished-account page. |
OTEL_EXPORTER_OTLP_ENDPOINT, OTEL_EXPORTER_OTLP_HEADERS, OTEL_SERVICE_NAME |
Optional traces; off while the endpoint is empty. |
bun run typecheck && bun run lint && bun run format:check && bun run tokens:check && bun test && bun run buildThe site ships as a container image (Next.js standalone output, port 8080) run as a Carrel service. See the deploy notes in the portal repository's design docs.
MIT