쿼츠 블로그를 위해 대공사

This commit is contained in:
2026-04-08 13:07:41 +09:00
parent 123642831e
commit 1319881195
606 changed files with 50625 additions and 2 deletions
@@ -0,0 +1 @@
{"_joins":[],"_contexts":[],"_links":[],"_sort":{"field":"rank","asc":false,"group":false,"recursive":false},"_template":"","_templateName":"","defaultSticker":"","readMode":false}
@@ -0,0 +1,19 @@
---
id: 20250417 MBS의 패키지 구조
created: 2025-04-17
tags:
- 카드
---
# 📌 MBS의 패키지 구조
## 💡 생각
MBS는 [[DDD 패키지 구조]] 와 [[NestJS 패키지 구성]]과 [[hi-nest 프로젝트 패키지 구조]] 를 조합해서 만들었음.
## 🔗 관련 아이디어
- [[DDD 패키지 구조]]
- [[NestJS 패키지 구성]]
- [[hi-nest 프로젝트 패키지 구조]]
## 🧠 출처 또는 메모
@@ -0,0 +1,26 @@
## 최종
``` plaintext
src/
└── order/
├── domain/
│ ├── order.entity.ts ← Order (Aggregate Root)
│ ├── order-item.entity.ts ← 내부 엔티티
│ ├── value-objects/
│ │ └── address.vo.ts ← 값 객체
│ └── interfaces/
│ └── order.repository.ts ← Repository 인터페이스
├── application/
│ └── service/
│ └── order.service.ts ← 서비스
├── presentation/
│ ├── dto/
│ │ └── create-order.dto.ts ← DTO
│ └── controller/
│ └── order.controller.ts ← 컨트롤러
├── infrastructure/
└── order.module.ts ← 모듈
```
![[실제 프로젝트 패키지 구성에 관하여#📌 실제 프로젝트 패키지 구성에 관하여#💡 생각]]
![[hi-nest 프로젝트 패키지 구조]]
@@ -0,0 +1,5 @@
설치
``` bash
npm install -g @nestjs/cli
```
@@ -0,0 +1,8 @@
M(먹) B(비) S(서)
먹비서, 영어 약어 아님.
굳이 약어를 만들어보자면...
**M**enu **B**rainy **S**elector라고 우길 수 있겠다.
아니, 이거 하면 될듯
메뉴 추천 어플임
@@ -0,0 +1,12 @@
``` plaintext
src/
└── movie/
├── dto/
│ ├── create-movie.dto.ts
│ └── update-movie.dto.ts
├── entities/
│ └── movie.entity.ts
├── movie.controller.ts
├── movie.module.ts
└── movie.service.ts
```