Skip to content

realbig4199/frame-typeorm

Repository files navigation

frame-typeorm

1. 로컬 환경 실행

npm install
docker-compose -f docker-compose.yml -p recipot up -d
docker network create docker-network
npm run start

2. NestJS + TypeORM 마이그레이션 적용

  1. src/database/migrations 폴더에 새로운 마이그레이션 파일을 생성합니다.
npm run migration:create
  1. 생성된 마이그레이션 파일을 열어 up과 down 메서드를 정의합니다.
  2. 마이그레이션 파일을 적용합니다.
npm run migration:run

3. EsLint 자동 적용

npm run lint

4. 개발환경 (dev) 시크릿 env 값 세팅

  1. 시크릿 오픈소스 Infisical 설치
brew install infisical/get-cli/infisical
  1. token으로 로그인
infisical login
  1. 현재 로컬 프로젝트를 Infisical 프로젝트와 연결
infisical init

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •