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 1010
1111``` bash
1212pnpm install
13- NODE_ENV=development pnpm install # devDpe 설치 위해
13+ NODE_ENV=development pnpm install # devDependencies 설치 위해
1414
1515# 만약 pnpm 이 없다면
1616brew install pnpm
@@ -36,6 +36,9 @@ pnpm dev # 개발 서버 실행
3636pnpm test # 테스트 실행
3737pnpm lint # 린트 검사
3838pnpm lint:fix # 린트 자동 수정
39+
40+ pnpm build # 프로젝트 빌드
41+ pnpm start # 빌드된 프로젝트 시작
3942```
4043
4144## Project Structure
@@ -44,9 +47,15 @@ pnpm lint:fix # 린트 자동 수정
4447├── src/
4548├── __test__/ # 테스트 파일
4649├── configs/ # 설정 파일 (DB 등)
50+ ├── constants/ # 상수 데이터 파일
4751├── controllers/ # API 컨트롤러
48- ├── models/ # 데이터 모델
52+ ├── exception/ # 커스텀 에러 파일
53+ ├── middlewares/ # 각종 미들웨어 (인증, 에러, 데이터 검증 등)
54+ ├── modules/ # 모듈 파일 (슬랙 등)
4955├── repositories/ # 데이터 액세스 레이어
5056├── routers/ # API 라우트 정의
51- └── services/ # 비즈니스 로직
57+ ├── services/ # 비즈니스 로직
58+ ├┬── types/ # Enum, DTO 등 데이터 타입 정의
59+ │└── models/ # 데이터 모델
60+ └── utils/ # 편의성 함수 정의
5261```
You can’t perform that action at this time.
0 commit comments