{"id":17727041,"url":"https://github.com/th3y3m/e-commerce-microservices","last_synced_at":"2026-02-25T22:02:01.619Z","repository":{"id":258923644,"uuid":"872195737","full_name":"th3y3m/e-commerce-microservices","owner":"th3y3m","description":"An e-commerce platform built using microservices architecture.","archived":false,"fork":false,"pushed_at":"2025-02-28T01:24:08.000Z","size":373,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-21T16:12:33.663Z","etag":null,"topics":["casbin","docker-compose","ecommerce","elasticsearch","gin","gorm","jwt","microservices","mockery","momo","postgresql","rabbitmq","redis","rest","vnpay"],"latest_commit_sha":null,"homepage":"","language":"Go","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/th3y3m.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-10-14T02:16:10.000Z","updated_at":"2025-02-28T01:24:12.000Z","dependencies_parsed_at":"2024-10-25T22:29:44.286Z","dependency_job_id":"84cd0311-075c-401d-85aa-159791e18a8f","html_url":"https://github.com/th3y3m/e-commerce-microservices","commit_stats":null,"previous_names":["th3y3m/e-commerce-microservices"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/th3y3m/e-commerce-microservices","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th3y3m%2Fe-commerce-microservices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th3y3m%2Fe-commerce-microservices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th3y3m%2Fe-commerce-microservices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th3y3m%2Fe-commerce-microservices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/th3y3m","download_url":"https://codeload.github.com/th3y3m/e-commerce-microservices/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th3y3m%2Fe-commerce-microservices/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29842827,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T21:18:31.832Z","status":"ssl_error","status_checked_at":"2026-02-25T21:18:29.265Z","response_time":61,"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":["casbin","docker-compose","ecommerce","elasticsearch","gin","gorm","jwt","microservices","mockery","momo","postgresql","rabbitmq","redis","rest","vnpay"],"created_at":"2024-10-25T18:00:36.455Z","updated_at":"2026-02-25T22:02:01.581Z","avatar_url":"https://github.com/th3y3m.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CodeQL](https://github.com/th3y3m/e-commerce-microservices/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/th3y3m/e-commerce-microservices/actions/workflows/github-code-scanning/codeql)\n[![E-Commerce Microservices (CI applid)](https://github.com/th3y3m/e-commerce-microservices/actions/workflows/ci-script.yml/badge.svg)](https://github.com/th3y3m/e-commerce-microservices/actions/workflows/ci-script.yml)\n![MIT License](https://img.shields.io/badge/License-MIT-yellow.svg)\n\n\n# 🎉 Welcome to E-commerce Microservices Project 🎉\n\n## 🌟 Overview\nThis project is an e-commerce platform built using microservices architecture. It leverages various technologies such as PostgreSQL, Redis, RabbitMQ, and Docker to ensure scalability, reliability, and performance.\n\n## 🚀 Features\n- **Microservices Architecture**: Each service is designed to be independent and scalable.\n- **PostgreSQL**: Used as the primary database for storing user and order information.\n- **Redis Cache**: Implemented for caching frequently accessed data to improve performance.\n- **Email Verification and Order Notifications**: Utilizes `net/smtp` for sending verification emails and order notifications.\n- **Social Login**: Supports login via Google and Facebook using `github.com/markbates/goth`.\n- **REST API**: Provides a RESTful API for interaction with the services.\n- **Service Communication**: Uses RabbitMQ for inter-service communication.\n- **Payment Integration**: Integrated with MoMo and VNPay for payment processing.\n- **Docker**: Configured to run all services in isolated containers.\n\n## 🛠️ Getting Started\n\n### Prerequisites\n- Docker\n- Docker Compose\n- PostgreSQL\n- Redis\n- RabbitMQ\n\n### Installation\n1. Clone the repository:\n    ```sh\n    git clone https://github.com/yourusername/ecommerce-microservices.git\n    cd ecommerce-microservices\n    ```\n\n2. Set up environment variables:\n    ```sh\n    cp .env.example .env\n    ```\n\n3. Update the `.env` file with your configuration details.\n\n4. Build and run the services using Docker Compose:\n    ```sh\n    docker-compose up --build\n    ```\n\n### Usage\n- Access the API at `http://localhost:8000/api`.\n- Use the provided endpoints to interact with the services.\n\n## 📦 Services\n\n### User Service\n- Manages user registration, authentication, and profile management.\n- Supports social login via Google and Facebook.\n\n### Order Service\n- Handles order creation, updates, and tracking.\n- Sends order notifications via email.\n\n### Payment Service\n- Integrates with MoMo and VNPay for payment processing.\n\n### Notification Service\n- Sends email notifications for account verification and order updates.\n\n## 🔄 Communication\n- Services communicate with each other using RabbitMQ.\n\n## ⚡ Caching\n- Redis is used to cache frequently accessed data to improve performance.\n\n## 🗄️ Database\n- PostgreSQL is used as the primary database for storing user and order information.\n\n## 🚀 Deployment\n- The project is containerized using Docker, making it easy to deploy and scale.\n\n## 📜 License\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## 🙏 Acknowledgments\n- [Mark Bates](https://github.com/markbates/goth) for the `goth` library.\n- [MoMo](https://momo.vn) and [VNPay](https://vnpay.vn) for payment integration.\n\n#### 📧 Connect with me via: truongtanhuy3006@gmail.com\n\n##### © 2024 th3y3m\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fth3y3m%2Fe-commerce-microservices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fth3y3m%2Fe-commerce-microservices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fth3y3m%2Fe-commerce-microservices/lists"}