Skip to content
프로젝트

소개

Aspire 마이크로서비스와 마이크로 프런트엔드로 에이전트 기반 애플리케이션을 구축하기 위한 참조 아키텍처로, MCP, A2A, AG-UI, A2UI를 통합합니다.

AI 및 머신러닝

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
-2
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

BookWorm

BookWorm

SLSA 2 OpenSSF Scorecard

Coverage Duplicated Lines (%)

BookWorm CI (Backend) BookWorm CI (Frontend)

[!WARNING] This project is for demo purposes only and is not production-ready.

Introduction

⭐ BookWorm showcases Aspire in a cloud-native application with AI integration. Built with DDD and VSA, it features multi-agent orchestration and standardized AI tooling through MCP with A2A & AG-UI Protocol support.

View Screenshots

BookWorm Storefront BookWorm Backoffice

Project Goals

  • Developed a cloud-native application using Aspire
  • Implemented Vertical Slice Architecture with Domain-Driven Design & CQRS
  • Enabled service-to-service communication with gRPC
  • Incorporated various microservices patterns
    • Used outbox and inbox patterns to manage commands and events
    • Implemented saga patterns for orchestration and choreography
    • Integrated event sourcing for storing domain events
    • Implemented a microservices chassis for cross-cutting concerns and service infrastructure
  • Implemented API versioning and feature flags for flexible application management
  • Set up AuthN/AuthZ with Microsoft Entra ID
    • Used Authorization Code Flow with PKCE for user authentication
    • Enabled Token Exchange for service-to-service authentication
  • Implemented caching with FusionCache
  • Incorporated AI components:
    • Used Microsoft Foundry for LLM and embeddings
    • Orchestrated multi-agent workflows using Agent Framework
    • Standardized AI tooling with Model Context Protocol (MCP)
    • Enabled agent-to-agent communication via A2A Protocol
    • Supported Agent interactions via AG-UI Protocol
    • Agent governance with policy-based controls and monitoring
    • Enabled AI agents to generate rich, interactive UIs using A2UI
  • Configured CI/CD with GitHub Actions
  • Created comprehensive documentation:
    • Used OpenAPI for REST API & AsyncAPI for event-driven endpoints
    • Used EventCatalog for centralized architecture documentation
  • Built modern client applications:
    • Monorepo architecture powered by Turborepo
    • Microfrontend (MFE) architecture using Next.js multi-zones
    • Customer-facing storefront and admin backoffice dashboard with Next.js
    • Targeted WCAG 2.1 AA accessibility standards (accessibility statement)
  • Established a testing strategy:
    • Conducted service unit tests
    • Implemented Pact-based contract testing
    • Established architecture testing strategy
    • Implemented frontend unit tests and component tests
    • Conducted end-to-end testing with BDD

Project Architecture

Project Architecture

Getting Started

Prerequisites

Required

  • mise — tool version manager
  • Docker — container runtime (must be running before starting the app)

Optional — install with mise run setup:<tool>:

  • mise run setup:buf — Buf CLI for gRPC schema & codegen
  • mise run setup:copilot — GitHub Copilot CLI for AI-assisted development

[!NOTE]

  • Run mise tasks ls to view all available workspace tasks.
  • Cloud deployments require an Azure subscription along with Confluent Cloud, SendGrid, and Qdrant Cloud connections.

Run locally

# 1. Clone the repository
git clone [email protected]:foxminchan/BookWorm.git
cd BookWorm

# 2. Install tools (.NET SDK, Bun, JDK & tools — skip if already installed globally)
mise install

# 3. First-time setup (restore packages + git hooks)
mise run prepare

# 4. Start the application
mise run run

[!NOTE]

On first run, the CLI prompts you to enter the required environment variables.

Deploy to Azure

  1. Authenticate and configure
az login
aspire secret set "Azure:SubscriptionId" "your-subscription-id"
aspire secret set "Azure:Location" "your-location"
  1. Deploy
aspire deploy
  1. Get the app URL
az containerapp show --name <app-name> --resource-group <resource-group> \
  --query properties.configuration.ingress.fqdn --output tsv
  1. Clean up resources

To remove all deployed resources and avoid charges:

az group delete --name <resource-group> --yes --no-wait

Contributing

For full documentation, visit the BookWorm Catalog. Contributions are welcome. See CONTRIBUTING and CODE OF CONDUCT for details. For bugs or feature requests, open an issue.

License

MIT — see LICENSE for details.

관련 프로젝트 살펴보기

불러오는 중…