Back to projects
Next.js 16TypeScriptPrisma 7NextAuthTanStack Query
Workforce Training Portal
Contractor portal with gamified onboarding, LMS, training system, and multi-tenant architecture
The Problem
A rapidly growing contractor workforce needed structured onboarding, ongoing training, and performance tracking. Existing LMS platforms were too generic, couldn't handle multi-market deployment, and lacked the gamification needed to keep a distributed contractor workforce engaged.
Architecture
Next.js 16 with Prisma 7 and NextAuth for authentication. TanStack Query handles client-side data fetching and caching. The multi-tenant architecture uses subdomain routing to serve market-specific content and configurations. The gamification engine tracks points, badges, and streaks with real-time leaderboards.
Screenshots

Dashboard — Tutor command center with announcements and monthly updates

Curriculum — Course browser with modules, lessons, and learning structure

Onboarding — Phased training pipeline with video lessons and quizzes

Admin — Operations dashboard with pipeline, training, and engagement metrics
Key Features
16-tier RBAC system with granular permission controls
2Gamified onboarding with points, badges, and streak tracking
3Training modules with Elo rating system for skill assessment
4Subdomain-based multi-tenancy for market-specific deployments
5184+ API routes covering training, scheduling, and performance
Manages 100+ contractor workforce across multiple markets