Skip to content
NYCU-WinLabPublic

About

Account applications for WinLab (apply.winlab.tw)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

apply.winlab.tw

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.

Quickstart

bun install
cp .env.example .env.local   # fill in the values below
bun run dev

Environment

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.

Checks

bun run typecheck && bun run lint && bun run format:check && bun run tokens:check && bun test && bun run build

Deploy

The 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.

License

MIT

About

Account applications for WinLab (apply.winlab.tw)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages