{"id":47783969,"url":"https://github.com/taidangduc/eshop","last_synced_at":"2026-04-27T20:31:46.599Z","repository":{"id":286804782,"uuid":"962039954","full_name":"taidangduc/eshop","owner":"taidangduc","description":"Practical Monolith, built with .Net 9, Clean Architecture, CQRS and the latest technologies.","archived":false,"fork":false,"pushed_at":"2026-04-23T11:33:34.000Z","size":32701,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-23T13:28:21.230Z","etag":null,"topics":["asp-net-core","clean-architechture","csharp","dotnet","dotnet-api","dotnet-mvc","identityserver4","monolith","oauth2","reactjs","testing"],"latest_commit_sha":null,"homepage":"","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/taidangduc.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-07T14:56:29.000Z","updated_at":"2026-04-23T11:33:51.000Z","dependencies_parsed_at":"2026-01-09T01:02:15.197Z","dependency_job_id":null,"html_url":"https://github.com/taidangduc/eshop","commit_stats":null,"previous_names":["taifdang/clothes-backend","taifdang/clothify","taifdang/ecommerce-monolith","taifdang/eshop","taidangduc/eshop"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/taidangduc/eshop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taidangduc%2Feshop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taidangduc%2Feshop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taidangduc%2Feshop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taidangduc%2Feshop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taidangduc","download_url":"https://codeload.github.com/taidangduc/eshop/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taidangduc%2Feshop/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32273223,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T18:29:39.964Z","status":"ssl_error","status_checked_at":"2026-04-25T18:29:32.149Z","response_time":59,"last_error":"SSL_read: 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":["asp-net-core","clean-architechture","csharp","dotnet","dotnet-api","dotnet-mvc","identityserver4","monolith","oauth2","reactjs","testing"],"created_at":"2026-04-03T14:04:31.522Z","updated_at":"2026-04-25T19:01:04.241Z","avatar_url":"https://github.com/taidangduc.png","language":"C#","readme":"# Eshop\n\n\u003e 🛍️ A practical e-commerce application built with .NET for the backend and React (Vite) for the frontend, demonstrating clean architecture and the latest technologies.\n\n## Purpose\n\nProvide a sample production-ready foundation for an online store with clean architecture and domain-driven design.\n\n## Key Features\n\n- HTTP APIs for Basket, Catalog, Customer, Identity, Order, and Payment.\n- Aspire used to local orchestration.\n- Domain‑driven design: entities, value objects, and domain events.\n- Seperate commands, queries in per feature.\n- JWT authentication and Cookie authentication\n- Unit and integration test projects.\n\n## Goals of This Project\n\n- ❇️ Using `Clean Architecture` for architecture level.\n- ❇️ Using `CQRS` implementation with `MediatR` library.\n- ❇️ Using `Fluent Validation` and a `Validation Pipeline Behaviour` on top of `MediatR`.\n- ❇️ Using `Unit Testing` for testing small units and mocking\n- ❇️ Using `Docker` for containerization\n- ❇️ Using `Nginx` for reserve proxy\n- ❇️ Using `Aspire` for local development, fast test\n- ❇️ Integration payment gateway with a `Stripe`\n- ❇️ Identity and authentication via `Duende IdentityServer`.\n- ❇️ Using storage: local filesystem and `Azure Blob` provider.\n- ❇️ Observability via `OpenTelemetry` (instrumentation + exporters).\n- ❇️ Email notifications via SMTP and background host services.\n- ❇️ In-memory caching\n\n## Technologies - Libraries\n\n- ✔️ `.NET 9` – runtime and SDK used across services.\n- ✔️ `Entity Framework Core` – persistence, migrations, etc\n- ✔️ `MediatR` – CQRS and in-process messaging (handlers + pipeline behaviors).\n- ✔️ `FluentValidation` – command validators and validation pipeline integration.\n- ✔️ `Duende.IdentityServer` – Identity and authentication.\n- ✔️ `OpenTelemetry` – tracing and metrics instrumentation.\n- ✔️ `Stripe` – payment provider implementation and factory-based payment gateway.\n- ✔️ `Azure Blob Storage` and local file storage managers.\n- ✔️ `Swashbuckle / OpenAPI` (Swagger) – API documentation and UI.\n- ✔️ `React` + `Vite` – storefront frontend.\n- ✔️ `xUnit.net` – unit and integration testing projects.\n- ✔️ `Docker`, `Nginx` – containerized dev/production setups and reverse proxy.\n- ✔️ `Aspire` – local orchestration for multi-service development.\n- ✔️ `Microsoft.Extensions.Caching.Memory` – in-memory caching support.\n\n## Demo\n\n#### Identity Server\n\u003cimg src=\"./docs/imgs/identity-server-demo.gif\"\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaidangduc%2Feshop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaidangduc%2Feshop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaidangduc%2Feshop/lists"}