{"id":27607835,"url":"https://github.com/harshdeep-yadav/sarswati","last_synced_at":"2026-04-08T18:02:11.582Z","repository":{"id":289072265,"uuid":"970032444","full_name":"Harshdeep-Yadav/Sarswati","owner":"Harshdeep-Yadav","description":"About Sarswati Backend is a Node.js application built with Express and MongoDB, designed to support an educational platform with roles for students, instructors, and administrators. It includes features for user authentication, course management, payments, and more","archived":false,"fork":false,"pushed_at":"2025-04-21T11:07:07.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-22T20:49:32.814Z","etag":null,"topics":["bcryptjs","cludinary","cookie-parser","cors","dotenv","express-fileupload","expressjs","jwt-authentication","mongodb","mongoose","node","nodemailer","otp-generation","otp-verification","razorpay-api","render"],"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/Harshdeep-Yadav.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-04-21T10:53:58.000Z","updated_at":"2025-04-21T11:07:11.000Z","dependencies_parsed_at":"2025-04-22T22:10:06.971Z","dependency_job_id":null,"html_url":"https://github.com/Harshdeep-Yadav/Sarswati","commit_stats":null,"previous_names":["harshdeep-yadav/sarswati"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Harshdeep-Yadav/Sarswati","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Harshdeep-Yadav%2FSarswati","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Harshdeep-Yadav%2FSarswati/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Harshdeep-Yadav%2FSarswati/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Harshdeep-Yadav%2FSarswati/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Harshdeep-Yadav","download_url":"https://codeload.github.com/Harshdeep-Yadav/Sarswati/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Harshdeep-Yadav%2FSarswati/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31567227,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bcryptjs","cludinary","cookie-parser","cors","dotenv","express-fileupload","expressjs","jwt-authentication","mongodb","mongoose","node","nodemailer","otp-generation","otp-verification","razorpay-api","render"],"created_at":"2025-04-22T22:09:56.487Z","updated_at":"2026-04-08T18:02:11.574Z","avatar_url":"https://github.com/Harshdeep-Yadav.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sarswati Backend\n\nSarswati Backend is a Node.js application built with Express and MongoDB, designed to support an educational platform with roles for students, instructors, and administrators. It includes features for user authentication, course management, payments, and more.\n\n## Features\n\n### Authentication and Authorization\n- User signup, login, password reset, and profile management\n- Role-based access control using JWT tokens and bcrypt for secure authentication\n\n### Category Management\n- CRUD operations for course categories\n- Display all categories and category page details\n\n### Course Management\n- Create, read, update, and delete courses\n- Retrieve course details and display all available courses\n\n### Profile Management\n- Update user profiles, retrieve user details, and delete user accounts\n\n### Rating and Review\n- Allow users to rate and review courses\n- Calculate and display average ratings for courses\n\n### Section and Subsection Management\n- Create, update, and delete sections and subsections within courses\n\n### Course Purchase\n- Handle payment capture and signature verification using Razorpay\n- Enable users to purchase courses securely\n\n## Installation\n\n1. Clone the repository:\ngit clone https://github.com/Harshdeep-Yadav/Sarswati.git\n\n2. Install dependencies:\n- npm install\n\n3. Set up environment variables:\n- Create a `.env` file in the root directory\n- Define the required environment variables such as database connection URI, JWT secret, Razorpay API keys, etc.\n\n4. Start the server:\n- node index.js or nodemon index.js\n\n\u003c!-- 5. Access the API endpoints at https://sarswati-1.onrender.com/ --\u003e\n\n## Contributing\n\nContributions are welcome! Please fork the repository, make your changes, and submit a pull request. For major changes, please open an issue first to discuss the proposed changes.\n\n\u003c!-- ## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. --\u003e\n\u003c!-- \n![Sarswati-pro](https://github.com/Harshdeep-Yadav/Sarswati/assets/107414907/6a7401d3-2420-48e2-972f-9fbbda7dd5e7) --\u003e\n\"# Sarswati\"","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshdeep-yadav%2Fsarswati","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharshdeep-yadav%2Fsarswati","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshdeep-yadav%2Fsarswati/lists"}