BizTech Judging Portal
Judging Portal Setup
Use this page to get the judging portal running locally.
Firebase Migration In Progress
We are currently migrating to dev@ubcbiztech.com's Firebase account. Login details will be shared on Notion.
Repository
Prerequisites
- Node.js 20+
- npm
- Firebase project values for public env vars
Local Run
- Open terminal in
hello-hacks-judging-portal/hello-hacks-portal - Install dependencies:
npm install - Create
.env.localwith the requiredNEXT_PUBLIC_*variables - Start app:
npm run dev - Open
http://localhost:3000
Required Environment Variables
NEXT_PUBLIC_EVENT_IDNEXT_PUBLIC_FIREBASE_API_KEYNEXT_PUBLIC_FIREBASE_AUTH_DOMAINNEXT_PUBLIC_FIREBASE_PROJECT_IDNEXT_PUBLIC_FIREBASE_STORAGE_BUCKETNEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_IDNEXT_PUBLIC_FIREBASE_APP_ID
Important
Set NEXT_PUBLIC_EVENT_ID explicitly in every environment. If omitted, the app falls back to techstrat-2026 (trailing space).
Useful Commands
npm run dev- start local dev servernpm run build- production build checknpm run lint- lint the codebasenpm run start- run production build locally