"Learning should be free for everyone."
You Learn isn't just another LMS; it's a movement toward accessible education.
Powered by AI and designed with The One Atom Color palette (Black, White, and Glassmorphism), it transforms YouTube content into structured, certified learning experiences.
You Learn's mission is to be:
- A completely free learning platform β no paywalls, no subscriptions, ever
- An AI-powered education system using Google's Gemini for intelligent assessments
- A beautiful, modern web application with The One Atom Color palette design language
Traditional online courses are expensive and gatekeep education behind paywalls.
You Learn democratizes learning by making every course, every quiz, and every certificate 100% free.
-
Minimalist Aesthetics
Pure CSS implementation following The One Atom Color palette (Black, White, and Glassmorphism) design principles β no frameworks, just elegance. -
Liquid Glass Effects
Translucent overlays withbackdrop-filter: blur()create depth and focus. -
Soft Elevation
Subtle shadows and smooth transitions provide a premium feel. -
System Fonts
Modern system typography for maximum legibility and premium feel.
-
Gemini API Integration
Automatically generates quizzes from YouTube video content. -
Smart Assessment
10-question quizzes with multiple choice, true/false, and fill-in-the-blank formats. -
Intelligent Scoring
Case-insensitive evaluation with detailed feedback. -
80% Passing Threshold
Ensures learners truly understand the material before certification.
-
Bcrypt Password Hashing
10 salt rounds for maximum security. -
HttpOnly JWT Cookies
Prevents XSS attacks on authentication tokens. -
Google OAuth 2.0
Secure third-party authentication option. -
CSRF Protection
SameSite cookie policy and rate limiting.
-
YouTube Integration
Learn from the best educational content on the web. -
Smart Navigation
Collapsible sidebar with independent scrolling and progress indicators. -
Progress Tracking
Visual progress bars and lesson completion tracking. -
Verified Certificates
Professional PDF certificates with SHA-256 verification hashes. -
LinkedIn Sharing
Share achievements directly to your professional network. -
Public Verification
Anyone can verify certificate authenticity via unique URLs.
YouLearn/
βββ backend/ # Node.js + Express API
β βββ server.js # Express server entry point
β βββ database/
β β βββ connection.js # PostgreSQL connection pool
β β βββ schema.sql # Complete database schema
β βββ controllers/ # Business logic
β β βββ authController.js # Authentication (Bcrypt + JWT + OAuth)
β β βββ courseController.js # Course management
β β βββ quizController.js # Quiz handling & scoring
β β βββ certificateController.js # Certificate generation & verification
β β βββ enrollmentController.js # Progress tracking & enrollment logic
β βββ services/
β β βββ geminiService.js # AI quiz generation
β β βββ certificateService.js # PDF generation
β βββ middleware/
β β βββ authMiddleware.js # JWT verification
β βββ routes/ # API endpoints
β
βββ frontend/ # React + Vite SPA
βββ src/
β βββ App.jsx # Main app with routing
β βββ pages/ # All application pages
β β βββ HomePage.jsx # Landing page
β β βββ LoginPage.jsx # Dual auth (Email + Google)
β β βββ CourseCatalog.jsx # Public course browsing
β β βββ CourseDetail.jsx # Course syllabus & enrollment
β β βββ Dashboard.jsx # User dashboard
β β βββ CourseViewer.jsx # Video player + sidebar
β β βββ QuizPage.jsx # Assessment interface
β β βββ CertificatePage.jsx # Certificate view & download
β β βββ VerifyPage.jsx # Public certificate verification
β β βββ SettingsPage.jsx # User profile settings
β β βββ HelpCenter.jsx # Support & FAQs
β βββ components/ # Reusable components
β βββ styles/ # Pure CSS (The One Atom Color palette)
β βββ variables.css # Design system tokens
β βββ [component].css
βββ index.html
β
Browse Courses β Explore free courses without signing up
β
Dual Authentication β Email/password or Google OAuth
β
Video Learning β Embedded YouTube lessons with progress tracking
β
Distraction-Free Learning β Optimized video player with no suggestions
β
AI Quizzes β Intelligent assessments generated from video content
β
Verified Certificates β Download PDFs or share to LinkedIn
β
Self-Healing System β Robust progress tracking and status recovery
β
Course Creation β Structured modules and lessons
β
AI Quiz Generation β Automatic quiz creation via Gemini API
β
Publishing Control β Manage course visibility
- Node.js + Express.js β REST API server
- PostgreSQL β Relational database with ACID compliance
- Bcrypt β Password hashing (10 salt rounds)
- JWT β Session management via HttpOnly cookies
- Google OAuth 2.0 β Third-party authentication
- Gemini API β AI-powered quiz generation
- PDFKit β Certificate PDF generation
- React.js β Modern UI framework
- React Router β Client-side routing
- Axios β HTTP client
- Pure CSS β No frameworks, The One Atom Color palette design
- Vite β Lightning-fast build tool
8 core tables with proper relationships:
- users β Authentication with Bcrypt hashing
- courses β Course metadata and structure
- modules β Course sections
- lessons β Individual YouTube lessons
- quizzes β AI-generated assessments (JSONB)
- enrollments β User progress tracking
- quiz_attempts β Submission history
- certificates β Verifiable certificates with SHA-256 hashes
β
Bcrypt Password Hashing β Industry-standard encryption
β
HttpOnly Cookies β XSS attack prevention
β
CSRF Protection β SameSite cookie policy
β
Rate Limiting β Brute force prevention
β
Helmet.js β Security headers
β
Input Validation β Server-side validation on all endpoints
GET /api/coursesβ List all coursesGET /api/courses/:slugβ Course detailsGET /verify?id=hashβ Verify certificate
POST /api/auth/registerβ Sign upPOST /api/auth/loginβ Sign inPOST /api/auth/googleβ Google OAuthPOST /api/auth/logoutβ Sign out
GET /api/courses/:slug/contentβ Full course contentPOST /api/enrollmentsβ Enroll in coursePOST /api/quizzes/:id/submitβ Submit quizGET /api/certificates/:courseId/downloadβ Download PDF
Strictly Proprietary License
All rights reserved. This project and its source code are for study and educational purposes only. You are permitted to visit the site and view the code to learn, but you may NOT use, copy, modify, distribute, or deploy this code, in whole or in part, for any purpose.
If You Learn helped you access free education or inspired your next project:
- Consider buying me a coffee
- It keeps development alive and motivates future updates
Made by Zaki Sheriff
Because education should be free for everyone.