{"id":21461508,"url":"https://github.com/valentaiga/book-market","last_synced_at":"2026-05-16T22:33:42.750Z","repository":{"id":101565281,"uuid":"599203712","full_name":"valentaiga/book-market","owner":"valentaiga","description":"Implementation of CQRS with MediatR in ASP.NET Core 6.","archived":false,"fork":false,"pushed_at":"2023-02-16T15:11:34.000Z","size":83,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-11T14:18:12.830Z","etag":null,"topics":["clean-architecture","cqrs-pattern","dapper","k8s-deployment","mediatr","outbox-pattern","postgresql","unit-of-work-pattern","xunit"],"latest_commit_sha":null,"homepage":"","language":"C#","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/valentaiga.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":"2023-02-08T17:04:06.000Z","updated_at":"2023-09-09T07:42:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"fdcf9616-5dea-4c75-94cf-c0658b8860db","html_url":"https://github.com/valentaiga/book-market","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/valentaiga/book-market","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valentaiga%2Fbook-market","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valentaiga%2Fbook-market/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valentaiga%2Fbook-market/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valentaiga%2Fbook-market/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/valentaiga","download_url":"https://codeload.github.com/valentaiga/book-market/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valentaiga%2Fbook-market/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33121193,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T18:38:32.183Z","status":"ssl_error","status_checked_at":"2026-05-16T18:38:29.903Z","response_time":115,"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":["clean-architecture","cqrs-pattern","dapper","k8s-deployment","mediatr","outbox-pattern","postgresql","unit-of-work-pattern","xunit"],"created_at":"2024-11-23T07:09:29.315Z","updated_at":"2026-05-16T22:33:42.724Z","avatar_url":"https://github.com/valentaiga.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Book e-shop\nPurpose: **Learn new development practices**  \nGoal: Develop a WebAPI book e-shop\n## Stack:\n- [x] **.NET WebAPI**\n- [x] **Postgres+Dapper**\n- [x] **Memory cache**\n- [x] **xUnit**\n  - [x] Integration\n  - [x] Unit\n- [x] **Clean architecture**\n  - [x] CQRS\n  - [x] MediatR\n  - [x] Layers\n- [x] **FluentMigration**\n- [x] **FluentValidation**\n- [ ] **k8s deploy**\n- [x] **Swagger**\n- [x] **Serilog**\n  - [x] Context based exceptions\n  - [x] Enrich log with trace identifier\n  - [ ] Sink to ES/Grafana ?\n  - [ ] Move setting to configuration file\n- [x] **Mapster**\n- [x] **Unit of work pattern**\n- [ ] **Outbox pattern**\n- [ ] **Authentication**\n\n## Setup the solution\n- Postgres setup/Change connection string\n    - local postgres in docker by command `docker run --name postgres-db -e POSTGRES_PASSWORD=admin -p 5432:5432 -d postgres`\n- Restore nugets\n- Build `Migrator` project\n- Run migrator up (args: `-up`)\n- Run Web project\n- Api spec is on `/swagger` endpoint","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalentaiga%2Fbook-market","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvalentaiga%2Fbook-market","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalentaiga%2Fbook-market/lists"}