{"id":29057750,"url":"https://github.com/softengmuhammadali/eduzone","last_synced_at":"2026-04-04T13:39:36.675Z","repository":{"id":301056604,"uuid":"1001938334","full_name":"SoftEngMuhammadAli/EduZone","owner":"SoftEngMuhammadAli","description":"A modern, full-stack Learning Management System (LMS) built using the MERN stack, designed to support students, teachers, and administrators with a seamless learning experience.","archived":false,"fork":false,"pushed_at":"2025-07-23T11:59:35.000Z","size":15960,"stargazers_count":4,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-23T12:31:20.565Z","etag":null,"topics":["express","frontend","mongodb","nodejs","react","responsive-web-design","tailwind-css"],"latest_commit_sha":null,"homepage":"https://edu-zone-kappa.vercel.app","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/SoftEngMuhammadAli.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,"zenodo":null}},"created_at":"2025-06-14T11:10:12.000Z","updated_at":"2025-07-23T11:59:38.000Z","dependencies_parsed_at":"2025-06-27T03:26:22.406Z","dependency_job_id":"e40690e2-7bb3-4470-9ae3-07105882a0f8","html_url":"https://github.com/SoftEngMuhammadAli/EduZone","commit_stats":null,"previous_names":["softengmuhammadali/edu-zone","softengmuhammadali/eduzone"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SoftEngMuhammadAli/EduZone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftEngMuhammadAli%2FEduZone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftEngMuhammadAli%2FEduZone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftEngMuhammadAli%2FEduZone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftEngMuhammadAli%2FEduZone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SoftEngMuhammadAli","download_url":"https://codeload.github.com/SoftEngMuhammadAli/EduZone/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftEngMuhammadAli%2FEduZone/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275062966,"owners_count":25398888,"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","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["express","frontend","mongodb","nodejs","react","responsive-web-design","tailwind-css"],"created_at":"2025-06-27T06:06:53.856Z","updated_at":"2026-04-04T13:39:36.666Z","avatar_url":"https://github.com/SoftEngMuhammadAli.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EduZone LMS (MERN)\n\nProduction-oriented LMS monorepo with:\n\n- `client/` (React + Vite + Redux Toolkit + Tailwind)\n- `server/` (Node.js + Express + MongoDB + JWT access/refresh auth)\n\n## Architecture\n\n### Backend (`server/src`)\n\n- `config/` database + env config\n- `controllers/` request handlers\n- `models/` mongoose schemas\n- `routes/` API route modules\n- `middlewares/` auth, validation, security, error handling\n- `utils/` token helpers, API response helpers, mailer, misc\n- `validators/` request validators\n\n### Frontend (`client/src`)\n\n- `components/` shared/admin/lms UI\n- `features/` Redux slices by domain\n- `hooks/` reusable hooks\n- `pages/` route-level views\n- `routes/` route guards + app routing\n- `services/` axios API client layer\n- `app/` Redux store\n\n## Key Implemented Upgrades\n\n- Access + refresh JWT auth flow (`/api/auth/login`, `/api/auth/refresh`, `/api/auth/logout`)\n- Role-based guards (`admin`, `instructor`, `student`)\n- Request validation middleware + validators\n- Security middleware:\n  - in-memory rate limiting\n  - request sanitization against Mongo operator injection keys\n  - secure default headers\n- Centralized success/error response utilities\n- Public browse APIs for courses/blogs\n- Course search/filter + pagination metadata\n- Enrollment ownership checks + student progress update endpoint\n- Analytics APIs with real data:\n  - `GET /api/analytics/admin`\n  - `GET /api/analytics/instructor`\n  - `GET /api/analytics/student`\n- Frontend axios interceptor with token refresh retry\n- Dashboard pages wired to real analytics API data\n- Student learning room wired to backend lessons + enrollment progress persistence\n\n## Run Locally\n\n## 1) Backend\n\n```bash\ncd server\nnpm install\ncp .env.example .env\n# update .env values\nnpm run dev\n```\n\n## 2) Frontend\n\n```bash\ncd client\nnpm install\ncp .env.example .env\n# update .env values\nnpm run dev\n```\n\n## 3) URLs\n\n- Frontend: `http://localhost:5173`\n- Backend: `http://localhost:5000`\n\n## Environment Variables\n\n### Backend (`server/.env`)\n\nUse `server/.env.example` as reference.\n\nRequired:\n\n- `DB_CONFIGURATION`\n- `ACCESS_TOKEN_SECRET`\n- `REFRESH_TOKEN_SECRET`\n- `CLIENT_URL`\n- `BASE_URL`\n\n### Frontend (`client/.env`)\n\nUse `client/.env.example` as reference.\n\nRequired:\n\n- `VITE_BASE_URL`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftengmuhammadali%2Feduzone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoftengmuhammadali%2Feduzone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftengmuhammadali%2Feduzone/lists"}