{"id":23792322,"url":"https://github.com/chinh00/cshop","last_synced_at":"2026-04-10T21:03:07.769Z","repository":{"id":259690432,"uuid":"859995979","full_name":"Chinh00/cShop","owner":"Chinh00","description":"Microservice Learning Project","archived":false,"fork":false,"pushed_at":"2025-02-13T07:52:54.000Z","size":36484,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T08:34:34.378Z","etag":null,"topics":["cicd","domain-driven-design","dotnet","event-sourcing","eventdrivenarchitecture","kafka","masstransit","microservices","sonarqube"],"latest_commit_sha":null,"homepage":"https://c-shop-woad.vercel.app","language":"C#","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/Chinh00.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":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-19T16:25:45.000Z","updated_at":"2025-02-13T07:52:59.000Z","dependencies_parsed_at":"2024-10-27T11:33:00.346Z","dependency_job_id":"98e85be4-f452-48dd-a879-0b12c73473c4","html_url":"https://github.com/Chinh00/cShop","commit_stats":{"total_commits":58,"total_committers":1,"mean_commits":58.0,"dds":0.0,"last_synced_commit":"699c46ecf22e6f1748ae919197407da117e96b2a"},"previous_names":["chinh00/cshop"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chinh00%2FcShop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chinh00%2FcShop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chinh00%2FcShop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chinh00%2FcShop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chinh00","download_url":"https://codeload.github.com/Chinh00/cShop/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240021287,"owners_count":19735301,"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":["cicd","domain-driven-design","dotnet","event-sourcing","eventdrivenarchitecture","kafka","masstransit","microservices","sonarqube"],"created_at":"2025-01-01T18:30:18.672Z","updated_at":"2026-04-10T21:03:07.691Z","avatar_url":"https://github.com/Chinh00.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Overview project 🎇\n![Screenshot 2024-11-06 at 13 04 34](./assets/383426968-9017703a-d7d5-4092-b27a-93dd498e3415.png)\n\n# Technical stack 🔥\n\n✔ Using [`Mediator`](https://github.com/jbogard/MediatR) for read and write in database\u003cbr/\u003e\n✔ Using [`FluentValidation`](https://docs.fluentvalidation.net/en/latest/) for validate request and a Validation Pipeline Behaviour on top of MediatR \u003cbr/\u003e\n✔ Using [`Kafka`](https://kafka.apache.org/) for communicate services \u003cbr/\u003e\n✔ Using [`Debezium`](https://debezium.io/) for CDC [`Sqlserver`](https://www.microsoft.com/en-us/sql-server/sql-server-downloads) implement `OutboxPattern`\u003cbr/\u003e\n✔ Using [`SchemaRegistry`](https://docs.confluent.io/platform/current/schema-registry/index.html) persist version message \u003cbr/\u003e\n✔ Using [`Redis`](https://redis.io/) for caching data \u003cbr/\u003e\n✔ Using [`Yarp`](https://microsoft.github.io/reverse-proxy/) as a microservices gateway \u003cbr/\u003e\n✔ Using `Minimal API` for all endpoints \u003cbr/\u003e\n✔ Using `Docker compose` for our deployment mechanism \u003cbr/\u003e\n✔ Using `gRPC` for internal communication between our microservices \u003cbr/\u003e\n\n\n\n# Instruction 🙄\n        \n| Service              | Status  |\n|----------------------|---------|\n| Catalog service      | Success |\n| Order service        | Success |\n| Basket service       | Success |\n| Identity service     | Success |\n| Notification service | Pending |\n| Search service       | Pending |\n| Web client           | Pending |\n\n\n# How to run project 🏃🏻\n* Create folder certs and create file https.pfx (for https into communication grpc)\n    * Using dev-certs tools dotnet\n        ```shell\n        dotnet dev-certs -ep ./certs/https.pfx -p \u003cYour_password\u003e\n        ```\n    * Using openssl\n        ```shell\n\n        ```\n\n* Create file `.env` with your environments\n    ```dotenv\n    MSSQL_PASSWORD=@P@ssw0rd02\n    Dabatabase_Name=sqlserver\n    \n    \n    ConnectionStrings__Db=Server=sqlserver;Database=Db;Encrypt=false;User Id=sa;Password=@P@ssw0rd02\n    SchemaRegistry__Url=http://schema-registry:8085\n    \n    ```\n\nAnd after run command into terminal\n```shell\ndocker compose -f docker-compose.yml up -d\n```\n#  Review code with SonarQube 😀\nUrl: https://de7c-113-190-242-151.ngrok-free.app/ \u003cbr/\u003e\nUname/upass: cshopuser/Admin123123!@\n![image](./assets/Screenshot%202024-12-10%20at%2021.19.33.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchinh00%2Fcshop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchinh00%2Fcshop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchinh00%2Fcshop/lists"}