{"id":18624007,"url":"https://github.com/a-samod/subscription-management-backend","last_synced_at":"2026-04-20T13:07:49.745Z","repository":{"id":257066490,"uuid":"803625806","full_name":"A-Samod/subscription-management-backend","owner":"A-Samod","description":"The backend for the subscription management application is built using Node.js and MongoDB, providing functionalities such as creating subscription groups, adding members, and tracking payments.","archived":false,"fork":false,"pushed_at":"2024-06-23T17:29:12.000Z","size":62,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-17T06:41:21.682Z","etag":null,"topics":["crud","mongodb","nodejs","subscription-management"],"latest_commit_sha":null,"homepage":"https://subscription-management-backend-ace1.onrender.com","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/A-Samod.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-05-21T04:55:38.000Z","updated_at":"2024-09-14T04:51:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"e42ef2ce-24f0-4ff8-a9b2-cae8b6c42981","html_url":"https://github.com/A-Samod/subscription-management-backend","commit_stats":null,"previous_names":["a-samod/subscription-management-backend"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/A-Samod/subscription-management-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/A-Samod%2Fsubscription-management-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/A-Samod%2Fsubscription-management-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/A-Samod%2Fsubscription-management-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/A-Samod%2Fsubscription-management-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/A-Samod","download_url":"https://codeload.github.com/A-Samod/subscription-management-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/A-Samod%2Fsubscription-management-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32048474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["crud","mongodb","nodejs","subscription-management"],"created_at":"2024-11-07T04:27:02.162Z","updated_at":"2026-04-20T13:07:49.727Z","avatar_url":"https://github.com/A-Samod.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Subscription Management Backend\n\nThis backend for the subscription management application is built using Node.js and MongoDB, following a clean architecture approach. It includes functionalities such as creating and managing subscription groups, adding members to groups, and tracking payments. The backend uses Express for handling HTTP requests and Mongoose for interacting with MongoDB.\n\n## Features\n\n- **User Management**: CRUD operations for user accounts\n- **Group Management**: Create and manage subscription groups\n- **Member Management**: Add and manage group members\n- **Payment Tracking**: Record and track payments related to group members\n\n## Technologies Used\n\n- Node.js\n- Express.js\n- MongoDB\n- Mongoose\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js and npm installed\n- MongoDB installed and running\n\n### Installation\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/your-username/subscription-management-backend.git\n```\n2. Navigate to the project directory:\n\n```bash\ncd subscription-management-backend\n```\n\n3. Install the dependencies:\n\n```bash\nnpm install\n```\n\n4. Create a .env file in the root directory and add the following environment variables:\n\n```bash\nMONGO_URI=mongodb://your_mongo_db_uri\nPORT=5000\n```\nRunning the Application\n\n1. Start the server:\n\n```bash\nnpm start\n```\n2. The backend server will be running at http://localhost:5000.\n\n## API Endpoints\n**User Endpoints**\n- Create User: `POST /api/users`\n- Get All Users: `GET /api/users`\n- Get User By ID: `GET /api/users/:userId`\n- Update User: `PUT /api/users/:userId`\n- Delete User: `DELETE /api/users/:userId`\n\n**Group Endpoints**\n- Create Group: `POST /api/groups`\n- Get All Groups: `GET /api/groups`\n- Get Group By ID: `GET /api/groups/:groupId`\n- Update Group: `PUT /api/groups/:groupId`\n- Delete Group: `DELETE /api/groups/:groupId`\n## Contributing\n1. Fork the repository.\n2. Create a new branch: git checkout -b feature-branch-name\n3. Make your changes and commit them: git commit -m 'Add some feature'\n4. Push to the branch: git push origin feature-branch-name\n5. Open a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-samod%2Fsubscription-management-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa-samod%2Fsubscription-management-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-samod%2Fsubscription-management-backend/lists"}