Mastery Academy | Enterprise LMS & Protected Video Learning Plat by Nial MillerMastery Academy | Enterprise LMS & Protected Video Learning Plat by Nial Miller

Mastery Academy | Enterprise LMS & Protected Video Learning Plat

Portfolio project
Nial Miller

Mastery Academy | Enterprise LMS & Protected Video Learning Platform

A comprehensive Learning Management System (LMS) and video curriculum streaming platform. Built with Next.js 14 App Router, Prisma ORM, Clerk multi-role authentication, UploadThing media pipelines, and Tailwind CSS.

โšก Executive Summary & Client ROI

Educational creators, universities, and enterprise training programs require seamless video streaming, strict DRM access control, and dynamic student progression metrics. Mastery Academy delivers a white-label LMS with dedicated teacher and student dashboards that drive engagement and maximize course completion rates.
Metric
Target Achieved
Business Impact
Course Completion Rate
+34% Lift
Interactive chapter milestones & automatic progress saving
Video TTFB Streaming
< 85ms
Global edge cached media delivery via CDN
Teacher Onboarding Time
< 5 Minutes
Drag-and-drop course and chapter builder
Platform Availability
99.98% SLA
Serverless Next.js edge routing & connection pooling

๐Ÿš€ Key Engineered Features

๐ŸŽ“ Dual Role Dashboard Architecture: Seamlessly switch between the Student Learning Hub (video player, attachments, chapter checklists) and the Teacher Studio (course creation, analytics, student enrollments).
๐Ÿ“น Secure Streaming & Asset CDN: Upload video lectures, chapter resources, and downloadable PDF blueprints securely via UploadThing CDN with pre-signed upload security.
๐Ÿ“Š Real-Time Student Analytics: Teacher dashboard visualizing enrollment growth, course completion velocity, and chapter drop-off rates.
๐Ÿ” Multi-Role Clerk Authentication: User profile management, organization workspaces, and protected API routes intercepting unauthorized chapter access.
๐Ÿ“ Dynamic Course Authoring Tools: In-place inline editing for course titles, descriptions, categories, thumbnail banners, and chapter sequencing.
๐Ÿ’พ Prisma Relational Data Model: Robust database schema linking User, Course, Chapter, Attachment, and Progress entities with automated cascade deletions.

๐Ÿ›๏ธ System Architecture

Loading
flowchart TD subgraph Students["Student Learning Hub"] VideoPlayer["Curriculum Video Player"] ProgressTracker["Chapter Progress Auto-Save"] ResourceDownloads["Course Attachments"] end subgraph Teachers["Teacher Studio"] CourseBuilder["Course & Chapter Builder"] AnalyticsDashboard["Revenue & Completion Analytics"] end subgraph SecurityGateway["Clerk Auth & API Boundary"] ClerkAuth["Clerk Role Verifier"] Middleware["Next.js Route Protection"] end subgraph CoreBackend["Backend & Data Storage"] PrismaLayer["Prisma ORM Layer"] DB[(PostgreSQL / MySQL DB)] UploadThing["UploadThing Media CDN"] end Students --> SecurityGateway Teachers --> SecurityGateway SecurityGateway --> Middleware Middleware --> PrismaLayer PrismaLayer --> DB CourseBuilder --> UploadThing VideoPlayer --> UploadThing

๐Ÿ› ๏ธ Complete Tech Stack

Core Framework: Next.js 14 (App Router, Server Components)
Language: TypeScript (Strict Mode)
Database & ORM: Prisma ORM with PostgreSQL / MySQL
Authentication: Clerk (Role-Based: Student / Teacher)
Media & File Storage: UploadThing
UI & Components: Radix UI , shadcn/ui , Tailwind CSS

๐Ÿ Quick Start & Local Setup

1. Install dependencies npm install # 2. Configure environment cp .env.example .env # Set DATABASE_URL, NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY, CLERK_SECRET_KEY, and UPLOADTHING_SECRET # 3. Synchronize database schema npx prisma db push # 4. Run development server npm run dev

Open http://localhost:3000 to view the academy platform.

๐Ÿ‘จโ€๐Ÿ’ป Engineering Lead & Contract Inquiries

Architected and maintained by Niall.M โ€” Senior Webmaster, Principal Frontend Engineer & E-Commerce Architect.
๐ŸŒ GitHub: github.com/niallmuk
๐Ÿ“ง Email: niall@nialluk.com
๐Ÿ’ฌ Telegram: @nialluk
๐Ÿ“ฑ WhatsApp: +44 7446317825
๐Ÿ’ผ Contra Profile: Available for bespoke LMS platforms, education technology, and membership portals.

About

Enterprise Video Learning Management System & Curriculum Hub built with Next.js 14 and Prisma

Resources

Readme

Stars

0 stars

Watchers

0 watching

Forks

No releases published

0 likes ยท 0 views ยท Nov 10, 2026

Comprehensive LMS and video curriculum streaming platform with role-based auth, secure media pipelines, course authoring, and real-time analytics.

Tags