A domain-agnostic, multi-tenant computer-based examination platform engineered with Next.js 15, PostgreSQL, and Prisma. Features immutable question versioning, server-authoritative timer enforcement, anti-cheat payload obfuscation, and integer-scaled deterministic scoring backed by 346 verified tests.

Generic web forms rely on client-side JavaScript timers. Tech-savvy examinees can modify system clocks, freeze browser threads, or alter localStorage states to gain unauthorized extra time.
When instructors fix a typo or modify answer choices in an unversioned question bank, recalculating past test results retroactively alters historical grades, destroying institutional audit integrity.
Naive Single-Page Applications download the complete exam schema—including answer keys and scoring weights—to the client browser, allowing students to inspect DevTools network tabs for correct answers.
Network dropouts during an examination can cause double-submission race conditions, dropped responses, or fatal server locks when thousands of students submit simultaneously.
I engineered GurukulX (ALEP) as a hardened examination engine built around mathematical invariants rather than trusting the client. Every test attempt binds to immutable question snapshots, enforces strict server deadlines, hides answer keys until administrative result release, and guarantees reproducible integer-scaled scoring.
Deadlines are stamped upon attempt initiation. Late submissions are rejected by database triggers regardless of browser client timestamp claims.
Questions are version-stamped on every save. Tests lock to specific version IDs, ensuring past student scores never drift when questions change.
Vitest test suite validates state transitions, negative marking, partial credit, and edge cases across concurrent attempt lifecycles.
Org/workspace context isolates student rosters and exams.
Test config binds to frozen immutable question versions.
Server derives deadline; answers stripped from JSON.
Client buffers drafts; periodic sync prevents loss.
Atomic submission scores deterministically.
Results and answer keys unlock only on policy date.
✓ tests/unit/scoring.test.ts (24 tests passed - integer scaling & negative marks)
✓ tests/unit/timing.test.ts (18 tests passed - server-authoritative deadline rejection)
✓ tests/unit/tenancy.test.ts (32 tests passed - cross-tenant isolation guards)
✓ tests/unit/question_versions.test.ts (28 tests passed - immutable version preservation)
Test Files 20 passed (20) | Tests 346 passed (346) | Duration: 4.12s

Live examination interface displaying active question palette, server-authoritative countdown timer, flagged question review, and client-side draft answer autosave.

Administrative portal for question authoring with immutable version tracking, section weight configuration, negative marking rules, and scheduled test access windows.

Tenant-scoped authentication gateway supporting secure Jose JWT sessions, HttpOnly cookies, SHA-256 invitation token validation, and multi-tenant workspace routing.

Complete architectural blueprint illustrating Next.js App Router, Prisma ORM 6, PostgreSQL multi-tenant relational schema, Redis rate-limiting, and Vitest test runner.
This proves: The platform derives deadlines on the server, strips answer keys from client payloads, and enforces cutoffs via database transactions.
Why it matters: Prevents students from cheating via DevTools inspection, clock manipulation, or altered submission scripts.
This proves: Modifying a question creates a new version record while preserving past historical attempt links.
Why it matters: Ensures historical assessment grades and academic transcripts remain 100% auditable and uncorrupted over time.
Strict logical isolation across Organization, Workspace, Membership, and User with scoped role-based access control.
Tests bind to frozen question snapshots; future edits generate new version records, permanently protecting historical score accuracy.
Attempt deadlines are calculated and enforced by the backend server; local client clock manipulation has zero effect on submission cutoffs.
Integer-scaled arithmetic eliminates floating-point rounding errors across complex negative-marking formulas and partial credit schemes.
Answers are buffered in client memory and synced over idempotent REST endpoints with atomic transaction locks upon final submission.
Protects submission endpoints from brute-force bursts and records immutable timestamps for every student interaction.
BASE_PROJECT_ARCHITECTURE_AUDIT.md.Protects certification validity by preventing client clock exploits and network payload inspection.
Immutable versioning guarantees historical grades remain reproducible forever, regardless of future test revisions.
Isolates student data across departments or external partner institutions within a single unified infrastructure instance.
Gate S3 Status:Per the source documentation, Gate S2 (core engine & integrity) is complete; Gate S3 (commercial billing & subscription tiers) is not yet implemented.
Offline Sync Bounds: Client-side caching preserves unsubmitted answers during network dropouts, but an active connection is required to initiate attempts and record atomic final submissions.
While not part of the primary SEO/search growth track, GurukulX serves as supporting evidence of high-reliability systems engineering, multi-tenant database modeling, and rigorous test-driven development. It demonstrates that the candidate builds deterministic, tamper-resistant web applications backed by comprehensive automated test suites.
GurukulX showcases my capability to engineer mission-critical SaaS architectures where data integrity is paramount. It demonstrates disciplined API boundary design, cryptographic token handling, relational schema rigor, and test-driven development discipline.
I'm open to Digital Growth, Technical SEO, SaaS, AI Automation, and Analytics opportunities.