Instructor Portal

Last updated on 2026-09-13

The instructor portal has 11 routes for course creation, student management, and analytics. Instructors see only their own courses and enrolled students.

Dashboard (/instructor/dashboard)

  • Revenue overview and earnings trends
  • Total students across all courses
  • Course performance metrics
  • Recent activity

Data from getInstructorDashboardStats().

Course Management (/instructor/courses)

  • List of instructor's courses with status, students, rating
  • Create new courses via dialog
  • Edit, publish, archive courses
  • Filter by status (draft, published, archived)

Data from getCoursesByInstructor().

Curriculum Builder (/instructor/courses/[id]/curriculum)

  • Module management with drag ordering
  • Add/edit/delete modules via createModule(), updateModule(), deleteModule()
  • Add/edit/delete lessons within modules
  • Lesson type selection (video, text, code, quiz)
  • Set free preview lessons

Student Management (/instructor/students)

  • Students enrolled across instructor's courses
  • Progress tracking per student
  • Enrollment dates and completion status

Data from getEnrolledStudents().

Assignments (/instructor/assignments)

  • View assignments across courses
  • Grade submissions with feedback via gradeSubmission()
  • Track submission status (pending, submitted, graded)

Analytics (/instructor/analytics)

  • Course performance charts
  • Enrollment trends
  • Completion rates
  • Student engagement metrics

Revenue (/instructor/revenue)

  • Earnings breakdown by course
  • Payout history
  • Revenue trends chart

Data from getInstructorRevenue().

Reviews (/instructor/reviews)

  • Student reviews for instructor's courses
  • Average ratings per course
  • Reply to reviews

Q&A (/instructor/qa)

  • Discussion threads related to instructor's courses
  • Answer student questions
  • Mark answers as accepted

Live Sessions (/instructor/live-sessions)

  • Schedule live sessions via createLiveSession()
  • Manage upcoming sessions
  • View registration counts
  • Update session details

Profile (/instructor/profile)

  • Edit instructor profile
  • Update bio and headline
  • Social links