{"id":23270364,"url":"https://github.com/abhijeetsatpute/courselearn","last_synced_at":"2025-10-08T13:43:22.292Z","repository":{"id":58175424,"uuid":"530262079","full_name":"abhijeetsatpute/CourseLearn","owner":"abhijeetsatpute","description":"A simple REST api to CRUD on Courses data a/c to queries.","archived":false,"fork":false,"pushed_at":"2022-08-30T04:11:52.000Z","size":169,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T09:45:59.317Z","etag":null,"topics":["rest-api"],"latest_commit_sha":null,"homepage":"https://courselearn.herokuapp.com/api-docs","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/abhijeetsatpute.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}},"created_at":"2022-08-29T14:42:38.000Z","updated_at":"2022-08-30T03:43:39.000Z","dependencies_parsed_at":"2022-09-05T13:40:53.390Z","dependency_job_id":null,"html_url":"https://github.com/abhijeetsatpute/CourseLearn","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/abhijeetsatpute/CourseLearn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhijeetsatpute%2FCourseLearn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhijeetsatpute%2FCourseLearn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhijeetsatpute%2FCourseLearn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhijeetsatpute%2FCourseLearn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abhijeetsatpute","download_url":"https://codeload.github.com/abhijeetsatpute/CourseLearn/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhijeetsatpute%2FCourseLearn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278955467,"owners_count":26075220,"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-10-08T02:00:06.501Z","response_time":56,"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":["rest-api"],"created_at":"2024-12-19T18:51:12.778Z","updated_at":"2025-10-08T13:43:22.265Z","avatar_url":"https://github.com/abhijeetsatpute.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CourseLearn\n\nCreated a simple REST api with Courses data to be fetched and created with express, node.js and mongoose ODM for mongoDB.\n\nFind the API documentation in swagger.yaml file \nor here: https://courselearn.herokuapp.com/api-docs\n\nAPI example with Node.js, Express and mongodb\n\n## Getting Started\n\n```\nnpm install\n```\n\n## Methods\n\n### Get ALL Courses\n```\nGET http://localhost/courses\n```\n\n### Get single course by id\n```\nGET http://localhost/course/:id\n```\n\n### Create a new Course\n```\nPOST http://localhost/course\nContent-Type: application/json\n\n{\n    \"Name\": \"React.js the complete guide\",\n    \"Type\": \"intermediate\",\n    \"Duration\": \"50\",\n    \"Price\": \"500\",\n    \"Mrp\": \"1500\",\n    \"Discount\": \"30\",\n    \"Rating\": \"4\",\n    \"Category\": \"programming\",\n    \"Thumbnail\": \"https://picsum.photos/200\",\n    \"Demo\": \"https://www.youtube.com/watch?v=TlB_eWDSMt4\u0026t=476s\",\n    \"Partner\": \"google\"\n}\n\n```\n\n### Update Course\n```\nPUT http://localhost/course/:id\nContent-Type: application/json\n\n{\n    \"Discount\": \"80\",\n}\n\n```\n\n### Delete a course\n```\nDELETE http://localhost/course/:id\nContent-Type: application/json\n```\n\n## Authors\n* **Abhijeet Satpute** - *Developer* - [Abhijeet](https://github.com/abhijeetsatpute)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhijeetsatpute%2Fcourselearn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabhijeetsatpute%2Fcourselearn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhijeetsatpute%2Fcourselearn/lists"}