2. Nest.js 광부왕 게임 서버 Mysql TypeOrm 설정 [게임 데이터]
1. Configuration 설정 https://crispypotato.tistory.com/194 Nest .env 파일 사용 방법 1. 설치 npm i --save @nestjs/config https://crispypotato.tistory.com/192 Nest 설치 방법 [ CLI ] 전역 설치 npm i -g @nestjs/cli 프로젝트 생성 nest new 생성 할 프로젝트 이름 생성 중에 패키지 관리툴을 선택하면 설치 crispypotato.tistory.com 2. 라이브러리 설치 typeorm, @nestjs/typeorm, mysql2 설치 npm install --save typeorm mysql2 @nestjs/typeorm 3. model 파일 생성 src폴더 안에 model..
2023.02.16