Skip to content
Projets

À propos

Architecture de référence pour créer des applications agentiques avec les microservices et les microfrontends d’Aspire, en intégrant MCP, A2A, AG-UI et A2UI.

IA et apprentissage automatique

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
-2
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

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.

Explorer des projets similaires

Chargement…