{"id":20668864,"url":"https://github.com/roy7077/sarswati","last_synced_at":"2026-04-12T06:32:54.419Z","repository":{"id":234884617,"uuid":"785557099","full_name":"roy7077/Sarswati","owner":"roy7077","description":" 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":"2024-04-21T10:37:35.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-17T13:29:09.497Z","etag":null,"topics":["bcrypt","cloudinary","cookie-parser","cors","dotenv","express-fileupload","express-js","jwt-authentication","mongodb","mongoose","nodejs","nodemailer","otp-generator","razorpay","render"],"latest_commit_sha":null,"homepage":"https://elements.getpostman.com/redirect?entityId=32632569-9b55731e-0587-47a8-9a39-bc2e0166f7b1\u0026entityType=collection","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/roy7077.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}},"created_at":"2024-04-12T06:02:16.000Z","updated_at":"2024-04-21T10:41:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"d9fe09aa-ecf5-4da8-99eb-0ea17c9692b5","html_url":"https://github.com/roy7077/Sarswati","commit_stats":null,"previous_names":["roy7077/sarswati"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roy7077%2FSarswati","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roy7077%2FSarswati/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roy7077%2FSarswati/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roy7077%2FSarswati/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roy7077","download_url":"https://codeload.github.com/roy7077/Sarswati/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242873750,"owners_count":20199294,"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":["bcrypt","cloudinary","cookie-parser","cors","dotenv","express-fileupload","express-js","jwt-authentication","mongodb","mongoose","nodejs","nodemailer","otp-generator","razorpay","render"],"created_at":"2024-11-16T20:12:01.236Z","updated_at":"2026-04-12T06:32:49.395Z","avatar_url":"https://github.com/roy7077.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/roy7077/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\n5. Access the API endpoints at https://sarswati-1.onrender.com/\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## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n![Sarswati-pro](https://github.com/roy7077/Sarswati/assets/107414907/6a7401d3-2420-48e2-972f-9fbbda7dd5e7)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froy7077%2Fsarswati","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froy7077%2Fsarswati","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froy7077%2Fsarswati/lists"}