Add comprehensive audit trail tracking by integrating auditService throughout the application. Track user authentication (LOGIN, REGISTER), course lifecycle (CREATE, APPROVE_COURSE, REJECT_COURSE, ENROLL), content management (CREATE/DELETE Chapter/Lesson), file operations (UPLOAD_FILE, DELETE_FILE for videos and attachments), password management (CHANGE_PASSWORD, RESET_PASSWORD), user role updates (UPDATE |
||
|---|---|---|
| .. | ||
| config | ||
| controllers | ||
| middleware | ||
| services | ||
| types | ||
| validators | ||
| app.ts | ||
| server.ts | ||