File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 10
10
11
11
``` bash
12
12
pnpm install
13
- NODE_ENV=development pnpm install # devDpe 설치 위해
13
+ NODE_ENV=development pnpm install # devDependencies 설치 위해
14
14
15
15
# 만약 pnpm 이 없다면
16
16
brew install pnpm
@@ -36,6 +36,9 @@ pnpm dev # 개발 서버 실행
36
36
pnpm test # 테스트 실행
37
37
pnpm lint # 린트 검사
38
38
pnpm lint:fix # 린트 자동 수정
39
+
40
+ pnpm build # 프로젝트 빌드
41
+ pnpm start # 빌드된 프로젝트 시작
39
42
```
40
43
41
44
## Project Structure
@@ -44,9 +47,15 @@ pnpm lint:fix # 린트 자동 수정
44
47
├── src/
45
48
├── __test__/ # 테스트 파일
46
49
├── configs/ # 설정 파일 (DB 등)
50
+ ├── constants/ # 상수 데이터 파일
47
51
├── controllers/ # API 컨트롤러
48
- ├── models/ # 데이터 모델
52
+ ├── exception/ # 커스텀 에러 파일
53
+ ├── middlewares/ # 각종 미들웨어 (인증, 에러, 데이터 검증 등)
54
+ ├── modules/ # 모듈 파일 (슬랙 등)
49
55
├── repositories/ # 데이터 액세스 레이어
50
56
├── routers/ # API 라우트 정의
51
- └── services/ # 비즈니스 로직
57
+ ├── services/ # 비즈니스 로직
58
+ ├┬── types/ # Enum, DTO 등 데이터 타입 정의
59
+ │└── models/ # 데이터 모델
60
+ └── utils/ # 편의성 함수 정의
52
61
```
You can’t perform that action at this time.
0 commit comments