VECTOR Examination & Convocation Suite
Partner university, India · under NDA · in production
- 27,000+students served
- ₹2.8 Cr+processed across both systems
- 2payment gateways
Situation. A university needed online exam registration, hall tickets, exam-day attendance and convocation for 27,000+ students, with fees collected through two Indian payment gateways.
Task. Make every payment traceable to exactly one registration, keep each role restricted to its own data, and give administrators fast answers from live records.
Action.
- Authorization: per-role RLS policies (admin, staff, student) with trigger-level column restrictions; closed a direct-API bypass caused by conflicting permissive INSERT policies by rearchitecting authorization in PostgreSQL.
- Payments: CCAvenue with AES-128-CBC encrypted payloads and Paytm; server-side verification of every gateway response, fraud checks and automated reconciliation against registrations.
- Ask VECTOR for admins: retrieval-augmented generation over the live database, so staff query registrations, payments and attendance in natural language.
- Operations: QR hall tickets, exam-day scanning, a separate QR check-in app for convocation security, and bulk SQL migrations for bilingual (Devanagari) certificate data.
Result. Ran in production for 27,000+ students and processed ₹2.8+ crore across the examination and convocation systems.
Development styleHosting, data, security, payments, AI
- Front end
- Vanilla JavaScript, HTML and CSS served as static sites from Vercel, deployed from GitHub; separate apps for students, administrators and exam-day scanning staff.
- Database
- Supabase PostgreSQL with a relational schema for students, registrations, payments, hall tickets, attendance and certificates, accessed through the PostgREST API; schema cache reloaded after each migration.
- Row-level security
- RLS enabled on every table with role-scoped policies for administrators, staff and students; trigger-level column restrictions lock verified fields; policies audited and consolidated after the conflicting-INSERT incident so no permissive policy can widen access.
- Payments
- CCAvenue requests and responses encrypted and decrypted with AES-128-CBC using the merchant working key on the server; Paytm integrated alongside; a payment is marked paid only after server-side verification, and reconciliation compares gateway records with registrations.
- Services and email
- Render hosts the server-side services; Resend sends transactional email such as registration and payment confirmations.
- Data operations
- Large imports split into batched SQL files for the Supabase SQL editor; bulk migrations added bilingual (Devanagari) certificate fields across tables.
- Ask VECTOR (admin)
- Natural-language questions from administrators are answered with retrieval over live database records, served from Supabase Edge Functions.
