{"id":16780121,"url":"https://github.com/hk669/course-recommendation-system","last_synced_at":"2025-09-13T12:40:55.911Z","repository":{"id":214930577,"uuid":"737691649","full_name":"Hk669/course-recommendation-system","owner":"Hk669","description":"Course Recommender System, powered by Flask, delivers tailored course suggestions based on user interests. Using content-based filtering and MongoDB integration","archived":false,"fork":false,"pushed_at":"2024-01-01T06:20:40.000Z","size":4,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T21:15:34.319Z","etag":null,"topics":["api","course-recommendation","courses","flask","json","mongodb","python","recommendation-system"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Hk669.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-01-01T05:19:12.000Z","updated_at":"2025-03-26T11:49:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"327c156e-9157-492d-9b61-1c7ee8fdc25d","html_url":"https://github.com/Hk669/course-recommendation-system","commit_stats":null,"previous_names":["hk669/course-recommendation-system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Hk669/course-recommendation-system","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hk669%2Fcourse-recommendation-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hk669%2Fcourse-recommendation-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hk669%2Fcourse-recommendation-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hk669%2Fcourse-recommendation-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hk669","download_url":"https://codeload.github.com/Hk669/course-recommendation-system/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hk669%2Fcourse-recommendation-system/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274961856,"owners_count":25381893,"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-13T02:00:10.085Z","response_time":70,"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":["api","course-recommendation","courses","flask","json","mongodb","python","recommendation-system"],"created_at":"2024-10-13T07:34:06.182Z","updated_at":"2025-09-13T12:40:55.879Z","avatar_url":"https://github.com/Hk669.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Course Recommender System\n\n## Overview\n\nThis Python application serves as a basic course recommender system based on content-based filtering. It uses the Flask framework to create a web service that recommends courses to users based on their specified interests.\n\n## Features\n\n- **Recommendations Endpoint:** The `/recommendations` endpoint accepts a `user's email` as a query parameter, retrieves their interests from a MongoDB database, and generates course recommendations using `content-based filtering.`\n\n- **Content-Based Filtering:** The recommender system uses `TF-IDF vectorization` and `cosine similarity` to calculate the relevance of courses to a user's interests.\n\n- **MongoDB Integration:** User data and course information are stored in a `MongoDB` database, and the application leverages the pymongo library for database connectivity.\n\n### Getting Started:\n\n- Clone Repository:\n    ```bash\n    git clone https://github.com/Hk669/course-recommendation-system.git\n    \n    ```\n- Star the Repository🌟\n    - click on the `star` at the top right\n\n\n### Create virtual environment\n\n    ```bash\n    cd recommendations\n\n    python -m venv venv\n    .venv/Scripts/activate\n\n    pip install -r requirements.txt\n    ```\n\n### Run the Flask API on 5000 port:\n\n    ```bash\n    python course_recommender.py\n    ```\n\n### API Usage\n- **Recommendations Endpoint:**\n    - URL: `/recommendations`\n    - Method: `GET`\n    - Parameters:\n    - user_email (query parameter): User's email for fetching interests.\n    - Response: `JSON` object containing recommended courses.\n\n  ```bash\n  GET http://127.0.0.1:5000/recommendations?user_email=testuser@gmail.com\n\n  ```\n\n- **JSON Object :**\n  ```bash\n  {\"recommendedCourses\": [\n      { \n        \"_id\": \"657dfd8327bd4eeac3b160de\",\n        \"title\": \"Web Development for Begineers\", \"description\":\n        \"This is a brand new web dev course for beginners\",\n        \"slug\": \"web-development-for-begineers\",\n        \"domain\": \"web development\",\n        \"owner\": \"657d96853c49dea888c6e47d\",\n        \"coverImage\":\n        \"https://s3.ap-south-1.amazonaws.com/assets.advantagecommunity.in/course/1702755707016.jpg\",\n        \"instructors\": [],\n        \"price\":0,\n        \"totalLectures\": 20,\n        \"enrolledStudents\": [],\n        \"sections\": [],\n        \"ratings\": [],\n            \"createdAt\":\"2023-12-16T19:41:55.196000\",\n            \"updatedAt\": \"2023-12-16T19:41:55.196000\",\n            \"__v\": 0\n            }\n        ]\n    }\n  ```\n\n---\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n## Contact\n\nIf you have any queries, encounter issues, or need assistance, feel free to reach out to me.\n\n**Email:** hrushikesh.dokala@studentambassadors.com\n\n\n`i'd greatly appreciate recieving some feedback. Thank you`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhk669%2Fcourse-recommendation-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhk669%2Fcourse-recommendation-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhk669%2Fcourse-recommendation-system/lists"}