[안세빈] Sprint11#53
Merged
loquemedalagana merged 2 commits intocodeit-sprint-fullstack:express-안세빈from Jun 23, 2025
Merged
Conversation
| "build": "tsc", | ||
| "migrate": "prisma migrate dev", | ||
| "studio": "prisma studio", | ||
| "start": "node dist/app.js" |
Contributor
There was a problem hiding this comment.
❗️현재 tsc가 .js 파일을 dist/ 안에 안 들어가는 문제가 있는데, tsconfig.json에 outDir이 빠졌거나 기본 설정(outDir 없음)이라서 루트에 그대로 컴파일되고 있습니다.
loquemedalagana
approved these changes
Jun 23, 2025
| userController.post( | ||
| "/auth/signIn", | ||
| async ( | ||
| req: Request<{}, {}, Pick<User, "email" | "password">>, |
Contributor
There was a problem hiding this comment.
Pick 저도 현업에서 자주 쓰는데 잘 쓰셨어요!
Contributor
There was a problem hiding this comment.
나중에 dto로 다시 정의해주시면 좋을거같아요!
af37b83
into
codeit-sprint-fullstack:express-안세빈
1 check passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
요구사항
기본
공통
[ ] Github에 위클리 미션 PR을 만들어 주세요.
[ ] React 및 Express를 사용해 진행합니다.
[ ] TypeScript를 활용해 프로젝트의 필요한 곳에 타입을 명시해 주세요.
[ ] any 타입의 사용은 최소화해 주세요.
[ ] 복잡한 객체 구조나 배열 구조를 가진 변수에 인터페이스 또는 타입 별칭을 사용하세요.
[ ] Union, Intersection, Generics 등 고급 타입을 적극적으로 사용해 주세요.
[ ] 타입 별칭 또는 유틸리티 타입을 사용해 타입 복잡성을 줄여주세요.
[ ] 타입스크립트 컴파일러가 에러 없이 정상적으로 작동해야 합니다.
백엔드
[ ] 기존 Express.js 프로젝트를 타입스크립트 프로젝트로 마이그레이션 해주세요.
[ ] tsconfig.json 파일을 생성하고, 필요한 컴파일러 옵션을 설정해야 합니다. (예: outDir).
[ ] TypeScript 관련 명령어를 package.json에 설정해 주세요. (예: 빌드 및 개발 서버 실행 명령어).
[ ] ts-node와 nodemon을 사용하여 개발 환경을 구성합니다.
[ ] nodemon과 함께 ts-node를 사용하여 . ts 파일이 변경될 때 서버를 자동으로 재시작하도록 설정합니다.
[ ] Mongoose나 Prisma 등 ORM을 사용하는 경우, 모델에 대한 인터페이스 또는 타입을 정의합니다.
[ ] 필요한 경우, declare를 사용하여 타입을 오버라이드하거나 확장합니다.
스크린샷
멘토에게