{"id":23771147,"url":"https://github.com/hasanbakar/e-backend","last_synced_at":"2026-01-27T03:35:28.103Z","repository":{"id":269710586,"uuid":"908221580","full_name":"HasanBakar/e-backend","owner":"HasanBakar","description":"Developing a robust and scalable e-commerce backend within 21 days.","archived":false,"fork":false,"pushed_at":"2024-12-25T16:42:05.000Z","size":44,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-02T04:04:38.007Z","etag":null,"topics":["api","api-rest","auth","backend","bcript","cors","ecommerce","express","learning","learning-by-doing","mern-stack","mongoose","nodejs","nodemon","production","project","scalability","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HasanBakar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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":"2024-12-25T13:42:48.000Z","updated_at":"2024-12-25T16:49:46.000Z","dependencies_parsed_at":"2025-05-25T18:41:02.767Z","dependency_job_id":"31850822-1d16-4f0a-8246-ba528abcabdb","html_url":"https://github.com/HasanBakar/e-backend","commit_stats":null,"previous_names":["hasanbakar/e-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HasanBakar/e-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HasanBakar%2Fe-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HasanBakar%2Fe-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HasanBakar%2Fe-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HasanBakar%2Fe-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HasanBakar","download_url":"https://codeload.github.com/HasanBakar/e-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HasanBakar%2Fe-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28799728,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T01:07:07.743Z","status":"online","status_checked_at":"2026-01-27T02:00:07.755Z","response_time":168,"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":["api","api-rest","auth","backend","bcript","cors","ecommerce","express","learning","learning-by-doing","mern-stack","mongoose","nodejs","nodemon","production","project","scalability","typescript"],"created_at":"2025-01-01T03:28:41.698Z","updated_at":"2026-01-27T03:35:28.089Z","avatar_url":"https://github.com/HasanBakar.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# E-Commerce Backend\n\nA robust and scalable backend solution for an e-commerce application, built with **Express.js**, **Node.js**, **MongoDB**, and other modern web development tools. This backend supports features such as user authentication, product management, and secure transactions.\n\n---\n\n## 🚀 Features\n\n- User Authentication and Authorization [auth](auth.md)\n\n\n---\n\n## 🛠️ Tech Stack\n\n- **Node.js**: JavaScript runtime for building scalable server-side applications\n- **Express.js**: Web application framework for creating robust APIs\n- **MongoDB**: NoSQL database for efficient data storage\n- **Mongoose**: Object Data Modeling (ODM) for MongoDB\n- **JWT**: Secure authentication with JSON Web Tokens\n- **bcrypt**: Password hashing for enhanced security\n- **CORS**: Secure cross-origin requests\n\n---\n\n## 📦 Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/YourUsername/e-backend.git\n   cd e-backend\n   ```\n\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n\n3. Set up environment variables:\n   - Create a `.env` file in the root directory and include the following:\n     ```env\n     PORT=5000\n     MONGO_URI=your_mongodb_connection_string\n     JWT_SECRET=your_jwt_secret\n     ```\n\n4. Start the development server:\n   ```bash\n   npm run dev\n   ```\n\n---\n\n## 🧪 Testing\n\nRun the following command to execute unit and integration tests:\n\n```bash\nnpm test\n```\n\n---\n\n## 🛡️ Security\n\n- **Data Encryption**: Passwords are hashed using `bcrypt`.\n- **Authentication**: Secured endpoints with `JWT`.\n- **CORS Policies**: Configured to allow specific domains.\n\n---\n\n## 🌟 Contribution\n\nContributions are welcome! To contribute:\n\n1. Fork the project.\n2. Create a feature branch:\n   ```bash\n   git checkout -b feature-name\n   ```\n3. Commit your changes:\n   ```bash\n   git commit -m \"Add feature description\"\n   ```\n4. Push to your branch:\n   ```bash\n   git push origin feature-name\n   ```\n5. Open a Pull Request.\n\n---\n\n## 📜 License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n---\n\n## 👨‍💻 Author\n\n**Abu Bakar**  \nFull Stack Developer | [GitHub Profile](https://github.com/HasanBakar)\n\n---\n\n## 🙌 Contributors\n\n- [HasanBakar](https://github.com/HasanBakar)\n## 🤝 Contribute to the Project!\n\nWe're looking for passionate developers to contribute to our e-commerce backend! Whether you're into adding new features, fixing bugs, or improving documentation, your contributions are welcome.\n\n### How to Get Involved:\n1. Fork the repo and clone it to your machine.\n2. Make your changes and submit a Pull Request.\n3. Check the [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.\n\nHelp us build a scalable, secure e-commerce platform while enhancing your skills. Together, we can create something amazing! 🚀\n\nFor any questions, feel free to open an [issue](https://github.com/HasanBakar/e-backend/issues).\n\n\n---\n\n## 📞 Support: +8801645295011\n\nFor issues or feature requests, please [open an issue](https://github.com/HasanBakar/e-backend/issues).\n\n---\n\nHappy coding! 🚀\n``` \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasanbakar%2Fe-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhasanbakar%2Fe-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasanbakar%2Fe-backend/lists"}