This repository contains the source code and implementation of a Learning Management System (LMS) developed using the MERN stack (MongoDB, Express.js, React, Node.js) along with Tailwind CSS and DaisyUI for styling, Cloudinary for managing media, and Razorpay for subscription management.
The Learning Management System (LMS) is a web-based application that facilitates the management and delivery of educational content and training materials. It allows administrators to create courses, manage users, and track progress. Users can access courses, view content, and complete assessments. Additionally, it offers subscription management through Razorpay, allowing users to purchase and cancel subscriptions.
You can preview the project at Preview Link.
Before running this project locally, ensure you have the following installed:
Clone the repository to your local machine:
git clone https://github.com/Sukomal07/learning-management-system.git
cd learning-management-system
Install server dependencies:
cd server
npm install
Install client dependencies:
cd client
npm install
Set up environment variables:
Create a .env
file in the server
directory and add the following:
PORT=5000
MONGO_URI=<your_mongoDB_URI>
FRONTEND_URL=http://localhost:5173
JWT_SECRET=<set_JWT_secret>
JWT_EXPIRE=<set_JWT_EXP>
CLOUD_NAME=<your_cloudinary_name>
API_KEY=<your_cloudinary_api_key>
API_SECRET=<your_cloudinary_api_secret>
GMAIL_ID=<mail_id_for_sending_mail>
APP_PASSWORD=<set_app_password_in_gmail>
RAZORPAY_API_KEY=<your_razorpay_api_key>
RAZORPAY_PLAN_ID=<your_subscription_plan_id>
RAZORPAY_KEY_SECRET=<your_razorpay_key_secret>
Start the server:
cd server
npm run dev
Start the client:
cd client
npm run dev
Access the application at http://localhost:5173