844d8416bd
- Set up the main application structure with App component and routing. - Implemented global state management for UI theme using Zustand. - Created API utilities for fetching system status. - Developed system status page with responsive design and theme toggle. - Added testing setup with Vitest and initial tests for system status page. - Configured TypeScript with appropriate settings for the application. - Integrated Tailwind CSS for styling and responsive design. - Established Vite configuration for development and testing environments.
9 lines
470 B
Markdown
9 lines
470 B
Markdown
---
|
|
status: accepted
|
|
---
|
|
|
|
# 后端采用限界上下文优先的模块化单体
|
|
|
|
后端以单一 FastAPI 服务部署,但业务代码按 `modules/<bounded_context>` 聚合,并在每个上下文内区分 domain、application、infrastructure 与 presentation。相比全局技术分层或过早拆分微服务,这一结构让量化业务边界可以独立演进,同时保留简单的部署与本地开发体验;初始化阶段不虚构任何业务上下文。
|
|
|