{"id":30990568,"url":"https://github.com/nikanats/blogify","last_synced_at":"2025-09-12T19:42:51.984Z","repository":{"id":270523979,"uuid":"910590549","full_name":"NikaNats/Blogify","owner":"NikaNats","description":"A modern .NET Web API for a blog platform","archived":false,"fork":false,"pushed_at":"2025-08-09T21:04:11.000Z","size":409,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T21:14:52.399Z","etag":null,"topics":["bloging","clean-architecture","cqrs","csharp","ddd","docker-compose","dotnet","keycloak","redis","seq"],"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/NikaNats.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}},"created_at":"2024-12-31T18:25:17.000Z","updated_at":"2025-08-09T21:04:14.000Z","dependencies_parsed_at":"2025-07-30T21:30:39.964Z","dependency_job_id":"776adfcc-8065-446a-aae0-677be00fe84d","html_url":"https://github.com/NikaNats/Blogify","commit_stats":null,"previous_names":["nika2811/blogify","nikanats/blogify"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NikaNats/Blogify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikaNats%2FBlogify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikaNats%2FBlogify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikaNats%2FBlogify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikaNats%2FBlogify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NikaNats","download_url":"https://codeload.github.com/NikaNats/Blogify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikaNats%2FBlogify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274865225,"owners_count":25364239,"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","status":"online","status_checked_at":"2025-09-12T02:00:09.324Z","response_time":60,"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":["bloging","clean-architecture","cqrs","csharp","ddd","docker-compose","dotnet","keycloak","redis","seq"],"created_at":"2025-09-12T19:42:46.678Z","updated_at":"2025-09-12T19:42:51.953Z","avatar_url":"https://github.com/NikaNats.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blogify API\n\nA modern, robust, and scalable backend API for a blogging platform. Built with **.NET 9**, following **Clean\nArchitecture** principles, **Domain-Driven Design (DDD)**, and the **CQRS** pattern.\n\n---\n\n## 🚀 Table of Contents\n\n- [Features](#features)\n- [Technology Stack](#technology-stack)\n- [Architecture Overview](#architecture-overview)\n\n---\n\n## ✨ Features\n\n- **User Management:** Secure user registration and login via Keycloak\n- **Content Management:** Full CRUD for Posts, Categories, and Tags\n- **Interactive Content:** Comment support on posts\n- **API Versioning:** Endpoints versioned (e.g., `/api/v1/...`)\n- **Health Checks:** Database, cache, and authentication provider monitoring\n- **Asynchronous Processing:** Outbox Pattern with Quartz.NET for reliable background domain event processing\n- **Robust Architecture:** Layered design for maintainability, scalability, and testability\n\n---\n\n## 🛠️ Technology Stack\n\n| Area              | Technology / Library                         |\n|-------------------|----------------------------------------------|\n| Backend Framework | .NET 9 \u0026 ASP.NET Core                        |\n| Architecture      | Clean Architecture, DDD, CQRS                |\n| Database          | PostgreSQL                                   |\n| ORM / Data Access | Entity Framework Core 9, Dapper              |\n| Authentication    | Keycloak (OAuth 2.0 / OIDC)                  |\n| Caching           | Redis (via IDistributedCache)                |\n| Testing           | xUnit, NSubstitute, Shouldly, Testcontainers |\n| Logging           | Serilog, Seq                                 |\n| API \u0026 Docs        | REST, OpenAPI (Swagger), Asp.Versioning.Mvc  |\n| Validation        | FluentValidation                             |\n| Scheduling        | Quartz.NET                                   |\n\n---\n\n## 🏛️ Architecture Overview\n\nBlogify implements **Clean Architecture** to ensure loose coupling, testability, and scalability. The major layers are:\n\n- **Domain:** Core business models and rules (no dependencies)\n- **Application:** Business logic using CQRS (only depends on Domain)\n- **Infrastructure:** Database, authentication, caching, and other service implementations\n- **API (Presentation):** Exposes functionality via RESTful endpoints\n\n```mermaid\ngraph TD\n    subgraph \"Presentation Layer\"\n        API[Blogify API]\n    end\n    subgraph \"Application Layer\"\n        APP[Business Logic]\n    end\n    subgraph \"Infrastructure Services\"\n        KEYCLOAK[Keycloak]\n        DB[(Database)]\n        REDIS[Redis]\n        SEQ[Seq]\n        QUARTZ[Scheduler]\n    end\n\n    USER[User] --\u003e|HTTPS| API\n    API --\u003e|Authentication| KEYCLOAK\n    API --\u003e|Commands/Queries| APP\n    APP --\u003e|Data| DB\n    APP --\u003e|Cache| REDIS\n    QUARTZ --\u003e|Polls| DB\n    DB --\u003e|Events| QUARTZ\n    QUARTZ --\u003e|Publishes| APP\n    API --\u003e|Logs| SEQ\n    APP --\u003e|Logs| SEQ\n\n    classDef service fill:#e6f3ff,stroke:#0066cc,stroke-width:2px;\n    classDef infra fill:#fff5e6,stroke:#ff9900,stroke-width:2px;\n    classDef db fill:#d9f2d9,stroke:#009900,stroke-width:2px;\n\n    class API,APP service;\n    class KEYCLOAK,REDIS,SEQ,QUARTZ infra;\n    class DB db;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikanats%2Fblogify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikanats%2Fblogify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikanats%2Fblogify/lists"}