Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 716 Bytes

README.md

File metadata and controls

51 lines (34 loc) · 716 Bytes

hhp-nestjs-app

How To Run

  1. 로컬 개발 환경

    docker-compose up postgres
    
    npm ci
    npm run start:dev
    
    npm run test
    npm run test:e2e # if it pass, the health check is ok
  2. 로컬 개발 환경(도커)

    docker-compose up
  3. e2e 테스트

    docker-compose up postgres
    npm run test:e2e

    혹은

    npm run test:e2e:docker

health check

curl --location 'http://localhost:3000/health-check'

API

스웨거 문서 참조 http://localhost:3000/api-docs

Live DB Migration

npm run typeorm:migration:run:prod
npm run seed:prod