{"id":26047641,"url":"https://github.com/shivu7889/lms","last_synced_at":"2026-04-11T17:34:03.594Z","repository":{"id":280013456,"uuid":"938129282","full_name":"Shivu7889/LMS","owner":"Shivu7889","description":"This is a learning management system with payment gateway integration.","archived":false,"fork":false,"pushed_at":"2025-02-28T18:42:53.000Z","size":273,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-07T23:12:30.276Z","etag":null,"topics":["development","expressjs","javascript","mern-stack","nodejs","reactjs","web"],"latest_commit_sha":null,"homepage":"https://lms-1-m1it.onrender.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Shivu7889.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-24T13:20:17.000Z","updated_at":"2025-02-28T18:42:56.000Z","dependencies_parsed_at":"2025-02-28T22:28:32.328Z","dependency_job_id":"3f5d0664-8a5e-4112-a81a-08f06af7e763","html_url":"https://github.com/Shivu7889/LMS","commit_stats":null,"previous_names":["shivu7889/lms"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shivu7889%2FLMS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shivu7889%2FLMS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shivu7889%2FLMS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shivu7889%2FLMS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shivu7889","download_url":"https://codeload.github.com/Shivu7889/LMS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242473055,"owners_count":20134020,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["development","expressjs","javascript","mern-stack","nodejs","reactjs","web"],"created_at":"2025-03-07T23:12:32.589Z","updated_at":"2025-12-05T05:03:03.599Z","avatar_url":"https://github.com/Shivu7889.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Learning Management System (LMS)\n\n## 📌 Project Overview\nThe **Learning Management System (LMS)** is a full-stack MERN (MongoDB, Express, React, Node.js) web application that allows users to register, purchase courses, track progress, and manage learning content. The backend is built using **Node.js, Express, MongoDB**, and the frontend is developed using **React (Vite)**.\n\n## 🚀 Features\n- User Authentication (Login \u0026 Signup)\n- Course Management (Create, Update, Delete)\n- Media Uploads\n- Purchase Courses\n- Course Progress Tracking\n- Secure User Sessions with Cookies\n- CORS Configuration for Frontend \u0026 Backend Integration\n\n## 🛠 Tech Stack\n### **Backend:**\n- Node.js\n- Express.js\n- MongoDB (Mongoose ODM)\n- dotenv (Environment Variables)\n- cookie-parser\n- CORS\n\n### **Frontend:**\n- React.js (Vite)\n- TailwindCSS\n- React Router\n\n## 🏗 Installation Guide\n### **1️⃣ Clone the Repository**\n```sh\ngit clone https://github.com/Shivu7889/LMS.git\ncd LMS\n```\n\n### **2️⃣ Backend Setup**\n```sh\ncd backend\nnpm install\nnpm start\n```\n\nCreate a **.env** file in the `backend/` directory with the following:\n```\nPORT=3000\nMONGO_URI=your_mongodb_connection_string\nJWT_SECRET=your_secret_key\n```\n\n### **3️⃣ Frontend Setup**\n```sh\ncd frontend\nnpm install\nnpm run dev\n```\n\n## 🖥 Deployment\n### **Backend:** Hosted on Render → [Backend URL](https://lms-x6sc.onrender.com)\n### **Frontend:** Hosted on Netlify/Vercel → [Frontend URL](https://your-frontend-link.com)\n\n## 🔗 API Endpoints\n### **User Routes** (`/api/v1/user`)\n- `POST /register` – User registration\n- `POST /login` – User login\n- `GET /profile` – Get user profile\n\n### **Course Routes** (`/api/v1/course`)\n- `GET /` – Get all courses\n- `POST /create` – Create a course\n- `PUT /update/:id` – Update a course\n- `DELETE /delete/:id` – Delete a course\n\n### **Purchase Routes** (`/api/v1/purchase`)\n- `POST /buy` – Purchase a course\n\n### **Course Progress Routes** (`/api/v1/progress`)\n- `POST /update` – Update user course progress\n\n## ⚠ Troubleshooting\n### **1. CORS Issues?**\nCheck the `server.js` file and ensure CORS is correctly configured:\n```js\napp.use(cors({\n    origin: [\n        \"http://localhost:5173\",\n        \"https://your-frontend-domain.com\"\n    ],\n    credentials: true\n}));\n```\n\n### **2. Database Connection Issues?**\nEnsure your **MongoDB URI** is correctly set in `.env` and MongoDB is running.\n\n### **3. Deployment Errors?**\n- Make sure `.env` variables are correctly set on Render.\n- Restart the deployment after making necessary fixes.\n\n## 📜 License\nThis project is **open-source** and available under the **MIT License**.\n\n## 📞 Contact\n👤 **Shivam Patidar**  \n📧 Email: shivupatel7889@gmail.com  \n🔗 GitHub: [Shivu7889](https://github.com/Shivu7889)  \n🔗 LinkedIn: [Shivu7889](https://linkedin.com/in/Shivu7889)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivu7889%2Flms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshivu7889%2Flms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivu7889%2Flms/lists"}