{"id":21193974,"url":"https://github.com/simran1002/e-learning-management-system","last_synced_at":"2025-03-14T21:25:55.853Z","repository":{"id":232641844,"uuid":"784413048","full_name":"simran1002/E-Learning-Management-System","owner":"simran1002","description":"This backend API provides endpoints for user registration, user profile management, course management, user enrollment, and more.","archived":false,"fork":false,"pushed_at":"2024-04-10T17:54:28.000Z","size":69,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T13:51:49.244Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/simran1002.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}},"created_at":"2024-04-09T19:56:55.000Z","updated_at":"2024-07-13T12:07:39.000Z","dependencies_parsed_at":"2024-04-10T20:14:31.528Z","dependency_job_id":"816f0aa2-0d07-4d98-b63d-3c8a1f6c95d7","html_url":"https://github.com/simran1002/E-Learning-Management-System","commit_stats":null,"previous_names":["simran1002/e-learning-management-system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simran1002%2FE-Learning-Management-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simran1002%2FE-Learning-Management-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simran1002%2FE-Learning-Management-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simran1002%2FE-Learning-Management-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simran1002","download_url":"https://codeload.github.com/simran1002/E-Learning-Management-System/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243647386,"owners_count":20324702,"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":[],"created_at":"2024-11-20T19:18:39.190Z","updated_at":"2025-03-14T21:25:55.827Z","avatar_url":"https://github.com/simran1002.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# E-Learning Platform Backend\n\nWelcome to the backend repository for our e-learning platform! This backend API provides endpoints for user registration, user profile management, course management, user enrollment, and more.\n\n## Setup Instructions\n\n### Prerequisites\n\n- Node.js and npm installed on your machine\n- MongoDB installed and running on your local machine\n- Access to a mailing service like [resend.com](https://resend.com) for email communication\n\n### Installation\n\n1. Clone this repository to your local machine:\n\ngit clone https://github.com/simran1002/E-Learning-Management-System.git\n\n2. Navigate to the project directory:\n\ncd e-learning-backend\n\n3. Install dependencies using npm:\n\nnpm install\n\n### Configuration\n\n1. Set up your local MongoDB database:\n\n   - Start MongoDB service on your machine.\n\n2. Set up environment variables:\n\n   - Create a `.env` file in the project root.\n   - Add the following environment variables to the `.env` file:\n\n     ```\n     PORT=3000\n     MONGODB_URI=mongodb://localhost:27017/e_learning\n     ```\n\n     Replace `mongodb://localhost:27017/e_learning` with your actual MongoDB connection URI.\n\n### Running the Server\n\n1. Start the server:\n\nnpm start\n\n### Testing Endpoints\n\nYou can test the provided endpoints using the following routes:\n\n- User Registration: `POST /api/users/register`\n- User Profile Management: `GET /api/users/:userId`, `PUT /api/users/:userId`\n- Course Management: `GET /api/courses`, `POST /api/courses`, `GET /api/courses/:courseId`, `PUT /api/courses/:courseId`, `DELETE /api/courses/:courseId`\n- User Enrollment: `POST /api/courses/:courseId/enroll`, `GET /api/users/:userId/courses/enrolled`\n- Filtering and Pagination: `GET /api/courses?category=categoryValue\u0026level=levelValue\u0026page=pageNumber\u0026limit=pageSize`\n- Email Integration: Not applicable for direct testing, involves email communication","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimran1002%2Fe-learning-management-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimran1002%2Fe-learning-management-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimran1002%2Fe-learning-management-system/lists"}