---
title: Introduction
summary: BookWorm's business purpose, architectural scope, and intended audience.
owners:
  - architecture-enabling-team
badges:
  - content: Architecture
    backgroundColor: blue
    textColor: blue
---

BookWorm is an online bookstore platform. It helps customers find books, maintain a basket, place and track orders, share reviews, and receive AI-assisted guidance. Store teams use it to manage catalog and customer information.

The platform separates its responsibilities into six areas so that each area can grow and change without taking ownership of another area's information.

## Business purpose and user roles

BookWorm serves two primary user groups:

- **Customers:** Find and compare books, ask for recommendations, maintain a basket, place checkout requests, track orders, and publish reviews.
- **Store administrators and business users:** Manage books, authors, categories, publishers, customer orders, buyer information, and review moderation.

## Platform scope and bounded contexts

Each area owns its business rules and records. Services share information only through clearly defined interfaces.

| Bounded context    | Deployable services                                           | Authoritative responsibility                                                                      |
| :----------------- | :------------------------------------------------------------ | :------------------------------------------------------------------------------------------------ |
| **Catalog**        | [[service\|catalog-api]], [[service\|catalog-ingestion]]      | Book details, authors, categories, publishers, prices, cover images, search, and rating summaries |
| **Shopping**       | [[service\|basket-api]]                                       | Baskets and customer selections before checkout                                                   |
| **Ordering**       | [[service\|order-api]], [[service\|order-orchestration]]      | Accepted orders, purchase details, order status, and post-checkout coordination                   |
| **Reviews**        | [[service\|rating-api]]                                       | Customer feedback and review summaries                                                            |
| **Conversational** | [[service\|chat-api]], [[service\|mcp-server]]                | Guided book discovery and assistance based on catalog and review information                      |
| **Platform**       | [[service\|notification-api]], [[service\|scheduler-service]] | Shared notifications and scheduled work, without owning a business area                           |

## System boundary and external dependencies

The diagram shows the BookWorm platform boundary, its users, its six internal areas, and its external services.

<MermaidFileLoader file="mermaids/001-introduction-diagram-1.mmd" />

### Verified vs. unimplemented external boundaries

- **Implemented external integrations:** Identity and access services authenticate users and control access for customers, administrators, and business users. AI model services provide conversational, decision-support, and search capabilities. Email services send messages in local and cloud environments. Messaging distributes work between services, while vector storage enables semantic search. Internal privacy services detect and remove sensitive personal information.
- **Out-of-scope conceptual boundaries:** Payment providers and shipping providers are not implemented. Post-checkout coordination manages basket cleanup and notifications; it does not accept or settle payments.

## Architectural scope trade-offs

- **Separate areas over a shared model:** Keeping domain data separate prevents hidden dependencies and protects checkout accuracy. It requires clear interfaces between areas.
- **Shared services vs. business ownership:** Keeping notification and scheduled work separate prevents shared infrastructure from taking over commerce responsibilities.
- **Specialist services:** Using established identity, AI, email, messaging, and search services lets the team focus on bookstore capabilities.

## Related architecture documentation

- [[doc|arc42/01-introduction-and-goals/002-requirements-overview]] — Essential functional and architectural requirements.
- [[doc|arc42/01-introduction-and-goals/003-quality-goals]] — Top five prioritized quality goals and acceptance evidence.
- [[doc|arc42/01-introduction-and-goals/004-stakeholders]] — Stakeholder roles and their documentation needs.
- [[doc|arc42/02-architecture-constraints]] — Technical, organizational, and coding constraints.
- [[doc|arc42/03-context-and-scope]] — Detailed business and technical context views.
- [[doc|arc42/00-c4-overview]] — Visual C4 Context and Container diagrams.
