πŸ“– Lesson Content Display

πŸŽ₯ Supported Content Types

  • Videos: Hosted via Cloudinary, streamed seamlessly

  • PDFs: Download or view inline for reading materials

  • Interactive Code Editor: Practice coding with real-time feedback


πŸ”„ Content Delivery Flow

  • Lessons fetched via API: GET /courses/:courseId/lessons/:lessonId

  • Content URLs secured and optimized for fast delivery

  • User progress saved on backend to resume lessons easily


  • Next/Previous lesson navigation

  • Automatic bookmarking of last watched position

  • Progress percentage displayed in the UI


πŸ“‘ Example API Request / Response

Fetch Lesson Content

Response:

Last updated