https://github.com/pjt3591oo/typeorm-uml-practice
https://github.com/pjt3591oo/typeorm-uml-practice
database typeorm typescript uml
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pjt3591oo/typeorm-uml-practice
- Owner: pjt3591oo
- Created: 2021-08-16T11:53:14.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-16T11:57:57.000Z (almost 5 years ago)
- Last Synced: 2025-05-16T01:33:50.666Z (about 1 year ago)
- Topics: database, typeorm, typescript, uml
- Language: TypeScript
- Homepage: https://blog.naver.com/pjt3591oo/222472579823
- Size: 26.4 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# typeorm uml sample
ormconfig.json의 설정 정보를 수정하여 사용하는 예제입니다.
synchronize를 true로 설정하면 npm run시 entity에 정의된대로 테이블 생성
UML은 entity를 기반으로 추출하기 때문에 굳이 테이블이 필요하지 않습니다.
```
$ npm i
$ npm run start
$ npm run db:diagram
```
