ui-microservice-architecture-ai-kit

Community

Design BFF UI microservices with confidence

Authorducthang-hub
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It helps you avoid inconsistent, hard-to-maintain BFF patterns by providing a clear architecture for UI-facing .NET microservices that orchestrate workflows, enforce auth, and decide when to use workflow-driven writes versus direct read APIs.

Core Features & Use Cases

  • Single-purpose controller actions: One API action per controller file to keep endpoints composable and reviewable (versioned under V1).
  • Workflow-first for write operations: Use Netwealth.Workflow via IWorkflowClient for create/edit/delete so approvals, audit trails, and permission-based action filtering are enforced.
  • Direct API calls for reads: Use Refit client(s) to fetch data quickly for Get/Query/Search without workflow overhead.
  • Consistent integration patterns: Dedicated Refit API client files per backend microservice, DI extension methods with services.Add{ServiceName}(), and common NwController conventions.
  • Security & caching structure: JWT auth with Kong integration, AuthenticatedUserService via middleware context, and FusionCache with Redis for distributed caching (plus optional Kafka background consumers).

Quick Start

Create a new .NET 10 UI BFF project following the repo’s structure (V1 controllers, per-microservice Refit clients, validators, workflow module, and security middleware) and then implement write endpoints as workflow-triggering controller files while implementing read endpoints as direct API client calls.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ui-microservice-architecture-ai-kit
Download link: https://github.com/ducthang-hub/nw-ai-kit/archive/main.zip#ui-microservice-architecture-ai-kit

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.