projects/online-elearning

Online E-Learning

E-learning platform with courses, sections and lessons, quizzes with attempts, enrollments and orders, reviews, completion certificates and an admin dashboard.Nền tảng học trực tuyến với khóa học, chương, bài học, bài kiểm tra, ghi danh và đơn hàng, đánh giá, chứng chỉ hoàn thành và trang quản trị.

github.com/NayuD06/online_elearning
Screenshot of Online E-Learning

The problemVấn đề

Students need one place to find courses, learn at their own pace and track progress, while teachers need to publish and manage their own content without touching code.Sinh viên cần một nơi để tìm khóa học, tự học theo tiến độ của mình và theo dõi quá trình, còn giảng viên cần tự đăng và quản lý nội dung mà không phải đụng tới code.

How it's builtCách làm

  • A Laravel 13 MVC app with Eloquent on MySQL and Blade views styled with Tailwind CSS and Alpine.js, built with Vite.Ứng dụng Laravel 13 theo mô hình MVC, Eloquent trên MySQL, giao diện Blade với Tailwind CSS và Alpine.js, build bằng Vite.
  • Three roles (admin, teacher, student) enforced with middleware and policies, so teachers can only edit their own courses.Ba vai trò admin, giảng viên, học viên được kiểm soát bằng middleware và policy, giảng viên chỉ sửa được khóa học của mình.
  • Course descriptions and lessons are written in CKEditor 5 and sanitized before display to prevent XSS.Mô tả khóa học và bài học soạn bằng CKEditor 5, được lọc trước khi hiển thị để chống XSS.
  • Paid courses go through VNPay or MoMo sandbox checkout and then enroll the student automatically. Google sign-in uses Socialite, and the app is deployed on Render.Khóa học trả phí thanh toán qua VNPay hoặc MoMo (môi trường thử) rồi tự ghi danh. Đăng nhập Google dùng Socialite, ứng dụng được triển khai lên Render.

Key featuresTính năng chính

  • Course library with search, filters by category, level and price, and sortingThư viện khóa học: tìm kiếm, lọc theo danh mục, trình độ, học phí và sắp xếp
  • Video lessons, lesson files, completion tracking and a progress bar per courseBài giảng video, tài liệu bài học, đánh dấu hoàn thành và thanh tiến độ từng khóa
  • Student dashboard with stats and a continue-learning listGóc học tập có thống kê và danh sách học tiếp
  • Reviews, favorites, lesson Q&A with email replies and PDF certificatesĐánh giá, khóa học yêu thích, hỏi đáp bài học có email báo trả lời và chứng chỉ PDF
  • Admin dashboard with Chart.js charts and course, user, category and announcement managementTrang quản trị có biểu đồ Chart.js, quản lý khóa học, người dùng, danh mục và thông báo
  • Responsive on phones, Vietnamese interface and custom error pagesChạy tốt trên điện thoại, giao diện tiếng Việt và trang lỗi riêng

ScreenshotsẢnh chụp màn hình