Backend changes: - Add Enrollment and LessonProgress models to track user progress - Add UserRole enum (USER, MODERATOR, ADMIN) - Add course verification and moderation fields - New CatalogModule: public course browsing, publishing, verification - New EnrollmentModule: enroll, progress tracking, quiz submission, reviews - Add quiz generation endpoint to LessonsController Frontend changes: - Redesign course viewer: proper course UI with lesson navigation, progress bar - Add beautiful typography styles for course content (prose-course) - Fix first-login bug with token exchange retry logic - New pages: /catalog (public courses), /catalog/[id] (course details), /learning (enrollments) - Add LessonQuiz component with scoring and results - Update sidebar navigation: add Catalog and My Learning links - Add publish/verify buttons in course editor - Integrate enrollment progress tracking with backend All courses now support: sequential progression, quiz tests, reviews, ratings, author verification badges, and full marketplace publishing workflow. Co-authored-by: Cursor <cursoragent@cursor.com>
11 lines
291 B
TypeScript
11 lines
291 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { CatalogController } from './catalog.controller';
|
|
import { CatalogService } from './catalog.service';
|
|
|
|
@Module({
|
|
controllers: [CatalogController],
|
|
providers: [CatalogService],
|
|
exports: [CatalogService],
|
|
})
|
|
export class CatalogModule {}
|