Skip to content

Lernix is a full-featured e-learning platform built to deliver a smooth and engaging learning experience. It allows users to browse, enroll in, and rate various educational courses while enabling admins to manage course content and users seamlessly.

Notifications You must be signed in to change notification settings

himanshur4/lernix-learning-platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 

Repository files navigation

Lernix 🎓

Lernix is a full-stack learning platform that allows users to browse and purchase courses, track progress, and access educational content. It features secure Clerk authentication, Stripe-powered payments, Cloudinary media handling, and seamless contextual state management.


🚀 Features

  • 🔐 User authentication via Clerk
  • 💳 Secure payments using Stripe
  • ☁️ Cloudinary integration for course media upload and delivery
  • 📚 Browse and enroll in courses
  • 📝 Create your own courses
  • 💡 Modern, responsive UI with smooth user experience

🛠️ Tech Stack

  • Node.js
  • Express.js
  • MongoDB (via Mongoose)
  • Stripe (for handling payments)
  • Cloudinary (for image/video storage and delivery)
  • React.js
  • Context API (for global state)
  • Clerk (authentication)
  • Tailwind CSS
  • Stripe.js and React Stripe (client-side payments)

📦 Getting Started

1. Clone the Repository

git clone https://github.com/himanshur4/lernix-learning-platform.git
cd lernix-learning-platform

2. Backend Setup

cd server
npm install
# Configure environment variables
npm run dev

3. Frontend Setup

cd ../client
npm install
npm run dev

🔐 Environment Variables

Backend (server/.env)

PORT=5000
MONGO_URI=your_mongodb_connection_string
STRIPE_SECRET_KEY=your_stripe_secret_key
CLOUDINARY_API_KEY=your_cloudinary_api_key
CLOUDINARY_API_SECRET=your_cloudinary_api_secret

Frontend (client/.env)

VITE_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
VITE_BACKEND_URL=http://localhost:5000
VITE_STRIPE_PUBLISHABLE_KEY=your_stripe_publishable_key

💳 Stripe Integration

  • Stripe is integrated on the frontend using @stripe/react-stripe-js and @stripe/stripe-js
  • Secure payment intent creation is handled on the backend via Stripe SDK
  • Users can enroll in paid courses after successful payment

☁️ Cloudinary Integration

  • Used to upload and manage course thumbnails, previews, and videos
  • Ensures optimized, fast-loading media content with built-in CDN support
  • Media files are stored securely and fetched dynamically across the platform

🙌 Contributing

Open to contributions! Feel free to fork the repo, open issues, or submit pull requests.


📄 License

MIT License

About

Lernix is a full-featured e-learning platform built to deliver a smooth and engaging learning experience. It allows users to browse, enroll in, and rate various educational courses while enabling admins to manage course content and users seamlessly.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published