[TIL] 1008-1108 Technical Document
Today I Learnt

1008 :
Functional Requirement Document: FRD
Functional Specification Document: FSD
https://ajiethkumar.wordpress.com/2013/08/06/functional-specification-requirement-document-fsd-frd/
Business Requirement Document: BRD
1009:
sequilzier model부분 쉬운설명
관계설정 , model attribute설정등 :
https://any-ting.tistory.com/51
[Node.js] Sequelize 관계성 정의 테이블간에 관계정의
- 지난 시간 안녕하세요. 지난 시간에는 모델을 정의하고 생성하는 부분에 대해 알아봤습니다. 혹시 놓치고 오신 분들은 아래 링크를 통해 학습하고 오시는 걸 추천드리겠습니다. any-ting.tistory.co
any-ting.tistory.com
ERD drawing :
DrawSQL - 🔥 Database schema diagrams
Simple, beautiful database diagram editor for developers to create, collaborate and visualize their entity relationship diagrams.
drawsql.app
항해 node js 하면서 만든 자료:
sequlize cli command
- 프로젝트 초기화
npx sequelize init
mongodb와는 다르게 데이터 베이스를 먼저 생성을 해야 작업을할수있습니다.
config에서 설정한대로 접속후 데이터 베이스를 생성합니다.
npx sequelize db:create
데이터모델에 지정해준대로 데이터 베이스안에 모델을 생성합니다.
몽고디비에서 schema부분 이랑 비슷하다고 생각하시면됩니다.
npx sequelize model:generate --name User --attributes email:string,nickname:string,password:string
모델을 가지고 테이블을 만듭니다.
npx sequelize db:migrate
https://sequelize.org/docs/v6/other-topics/migrations/그외자료:
https://levelup.gitconnected.com/getting-started-with-sequelize-cli-c33c797f05c6검색키워드:
sequlize cli command , sequlize cli명령어 ..
'IT > TIL(Today I Learnt)' 카테고리의 다른 글
[TIL] 2410 - 2810 10월 마지막주 (0) | 2022.10.31 |
---|---|
[TIL] 1010 - 1510 (2) | 2022.10.25 |
[TIL] 0810 호주개발자 (4) | 2022.10.08 |
[TIL] 0923 (0) | 2022.10.08 |
[TIL] 0912 (0) | 2022.09.18 |