Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ddaynew365] 백엔드 개발 환경 세팅[#10] #33

Merged
merged 1 commit into from
Nov 2, 2021
Merged

Conversation

ddaynew365
Copy link
Collaborator

내용

  • 패키지 설치 내역
    • express
    • morgan
    • express-session
    • mysql2
  • 디렉토리 역할
    • api : 라우팅 및 개개인 미들웨어 적용
    • app.ts : 공통적인 미들웨어 적용
    • www.ts : 에러처리 및 서버 열기
    • controllers : client에게 데이터를 주고 받는 함수 처리
    • models : 데이터 처리

고민

  • typeorm vs sequelize
    • typoeorm 역시 좋은 ORM이지만 NestJS를 사용시 더 잘 맞는 느낌이 들고 단순히 Typescript만을 적용한 우리의 프로젝트에는 sequelize를 쓰는 것이 더 잘 맞는 느낌이 들어 sequelize를 선택하였다.

- express 서버 생성
- eslint, prettier 초기 설정
@ddaynew365 ddaynew365 added the BE 백엔드 label Nov 2, 2021
@ddaynew365 ddaynew365 added this to the 1주차 개발 마일스톤 milestone Nov 2, 2021
@jin-Pro jin-Pro merged commit eeba9d7 into dev Nov 2, 2021
@ddaynew365 ddaynew365 added this to 완료 in 2주차 Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BE 백엔드
Projects
1 주차
Awaiting triage
2주차
완료
Development

Successfully merging this pull request may close these issues.

None yet

2 participants