{"id":24760719,"url":"https://github.com/farhanasharna2000/techdiscoverly-server","last_synced_at":"2026-04-05T22:02:02.000Z","repository":{"id":273886045,"uuid":"921191379","full_name":"Farhanasharna2000/TechDiscoverly-server","owner":"Farhanasharna2000","description":"The backend for TechDiscoverly, a platform where users can discover, share, and review their favorite tech products. This backend handles user authentication, product management, role-based access control, and integration with third-party services like Stripe.","archived":false,"fork":false,"pushed_at":"2025-02-19T04:06:25.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T11:45:48.692Z","etag":null,"topics":["dotenv","expressjs","jwt-auth","momentjs","mongodb","morgan","nodejs","stripe-payments"],"latest_commit_sha":null,"homepage":"https://techdiscoverly.web.app","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/Farhanasharna2000.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":"2025-01-23T14:11:56.000Z","updated_at":"2025-02-19T04:06:28.000Z","dependencies_parsed_at":"2025-01-23T15:41:09.279Z","dependency_job_id":null,"html_url":"https://github.com/Farhanasharna2000/TechDiscoverly-server","commit_stats":null,"previous_names":["farhanasharna2000/techdiscoverly-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Farhanasharna2000/TechDiscoverly-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Farhanasharna2000%2FTechDiscoverly-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Farhanasharna2000%2FTechDiscoverly-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Farhanasharna2000%2FTechDiscoverly-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Farhanasharna2000%2FTechDiscoverly-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Farhanasharna2000","download_url":"https://codeload.github.com/Farhanasharna2000/TechDiscoverly-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Farhanasharna2000%2FTechDiscoverly-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31451446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"ssl_error","status_checked_at":"2026-04-05T21:22:51.943Z","response_time":75,"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":["dotenv","expressjs","jwt-auth","momentjs","mongodb","morgan","nodejs","stripe-payments"],"created_at":"2025-01-28T18:18:57.265Z","updated_at":"2026-04-05T22:02:01.350Z","avatar_url":"https://github.com/Farhanasharna2000.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌐 TechDiscoverly Backend\n\nThe backend for **TechDiscoverly**, a platform where users can discover, share, and review their favorite tech products. This backend handles user authentication, product management, role-based access control, and integration with third-party services like Stripe.\n\n---\n\n## 🛠️ Technologies Used\n\n- **Node.js**: JavaScript runtime for building scalable backend applications.\n- **Express.js**: Web framework for building the server-side RESTful API.\n- **MongoDB**: NoSQL database for storing user data, product listings, and reviews.\n- **Stripe**: Payment gateway integration for managing subscriptions and payments.\n- **JWT (jsonwebtoken)**: Secure user authentication and role management.\n- **dotenv**: Manage environment variables securely.\n- **Moment.js**: Simplify date and time manipulation.\n- **Morgan**: HTTP request logger for better debugging and monitoring.\n\n---\n\n## ✨ Features\n\n1. **User Authentication**:\n   - Secure login and registration using JWT.\n   - Role-based access control for normal users, moderators, and admins.\n\n2. **Product Management**:\n   - Create, read, update, and delete product listings.\n   - Product moderation features for admins and moderators.\n\n3. **Payment Integration**:\n   - Handle subscriptions and payments using Stripe.\n\n4. **Logging**:\n   - HTTP request logging for development and debugging with Morgan.\n\n5. **Scalable Data Handling**:\n   - Efficient data storage and querying using MongoDB.\n\n---\n\n## 📦 Dependencies\n\n- **`cors`**: Middleware to enable cross-origin resource sharing.\n- **`dotenv`**: Load environment variables from `.env` files.\n- **`express`**: Fast and minimalist web framework.\n- **`jsonwebtoken`**: Secure user authentication with JSON Web Tokens.\n- **`moment`**: Simplified date and time manipulation.\n- **`mongodb`**: MongoDB driver for database operations.\n- **`morgan`**: HTTP request logger.\n- **`stripe`**: Payment gateway integration.\n\n---\n\n## 💻 How to Run the Backend\n\nFollow these steps to set up and run the backend for TechDiscoverly:\n\n### 1. Clone the Repository\nClone the backend repository to your local machine:\n```bash\ngit clone https://github.com/Farhanasharna2000/TechDiscoverly-server\ncd TechDiscoverly-server\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarhanasharna2000%2Ftechdiscoverly-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffarhanasharna2000%2Ftechdiscoverly-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarhanasharna2000%2Ftechdiscoverly-server/lists"}