projects/eduforge-ai
EduForge AI
Course and online exam platform: question banks with 8 question types, randomized timed exams with auto-grading, live timer sync and AI question generation from PDFs.Nền tảng khóa học và thi trực tuyến: ngân hàng câu hỏi 8 dạng, đề ngẫu nhiên có giới hạn thời gian, chấm tự động, đồng bộ đồng hồ trực tiếp và dùng AI tạo câu hỏi từ PDF.
- 2026
- AI
- Full-stack
- In progress: API done, apps nextĐang làm: xong API, đang dựng app
github.com/NayuD06/EduForge-AI
The problemVấn đề
Instructors need one place to build courses, keep question banks and run fair, timed online exams, and writing good questions from course material by hand takes a lot of time.Giảng viên cần một nơi để xây khóa học, giữ ngân hàng câu hỏi và tổ chức thi trực tuyến có giới hạn thời gian thật công bằng, trong khi tự soạn câu hỏi từ tài liệu rất tốn thời gian.
How it's builtCách làm
- A pnpm and Turborepo monorepo: a NestJS API, Next.js apps for students and instructors, an Expo mobile app, and a shared package of types and an API client used by all four.Monorepo pnpm và Turborepo: API NestJS, hai app Next.js cho học viên và giảng viên, app di động Expo, cùng một package dùng chung kiểu dữ liệu và API client cho cả bốn app.
- The exam engine is written as pure functions with unit tests: seeded random exams that can be reproduced, shuffled questions and options, and partial-credit grading for 8 question types.Exam engine viết bằng hàm thuần có unit test: đề ngẫu nhiên theo seed nên tái lập được, xáo câu và đáp án, chấm điểm từng phần cho 8 dạng câu hỏi.
- The server owns the deadline: clients sync time over Socket.IO, answers autosave per question, and a BullMQ job submits the attempt when time runs out.Máy chủ giữ hạn nộp: client đồng bộ giờ qua Socket.IO, câu trả lời tự lưu từng câu, job BullMQ tự nộp bài khi hết giờ.
- AI pipeline: uploaded PDFs are split and embedded into PostgreSQL with pgvector, Claude reads the PDF and returns structured draft questions for review, and students get answer explanations that cite the course material.Luồng AI: PDF tải lên được cắt đoạn và nhúng vector vào PostgreSQL với pgvector, Claude đọc PDF và trả về câu hỏi nháp có cấu trúc để giảng viên duyệt, học viên nhận giải thích đáp án có trích nguồn tài liệu khóa học.
Key featuresTính năng chính
- Courses, lessons and enrollmentKhóa học, bài học và ghi danh
- Question banks with 8 types, from multiple choice to matching, ordering and essaysNgân hàng câu hỏi 8 dạng, từ trắc nghiệm tới ghép cặp, sắp xếp và tự luận
- Random exams built from rules: N questions by type, difficulty or tagĐề ngẫu nhiên theo quy tắc: rút N câu theo dạng, độ khó hoặc tag
- Pick up an attempt again after a reload or on another deviceTải lại trang hay đổi thiết bị vẫn làm tiếp đúng lượt thi
- Analytics: score distribution, pass rate and real difficulty per questionPhân tích: phổ điểm, tỉ lệ đạt và độ khó thực tế từng câu
- Swagger docs for every endpointTài liệu Swagger cho mọi API