You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open SQL Editor → paste contents of supabase/schema.sql → Run
Copy your Project URL and Anon Key from Settings → API
2. Environment Variables
cp .env.local.example .env.local
# Fill in your Supabase URL and keys
3. Local Dev
npm install
npm run dev
# Open http://localhost:3000
4. Deploy to Vercel
npx vercel --yes
# Add env vars in Vercel dashboard → Settings → Environment Variables
User Roles & Flow
Role
What they do
Student (Club Head)
Create event → assign faculty + HOD → get event QR after approval → scan student QRs at venue
Student (Participant)
Scan event QR → fill details → get personal attendance QR → show at venue
Faculty
Approve/reject events → approve OD requests → forwards to HOD
HOD
Final OD approval → student can download/print OD slip
Flow
Club Head creates event
→ Faculty approves
→ Event QR generated
→ Students scan QR → register → get personal QR
→ Club Head scans at venue → marks attendance + OD request auto-created
→ Faculty approves OD
→ HOD approves OD
→ Student downloads printable OD slip