/iv-swiper-backend

Swiper Backend Engineer 題目實作

Primary LanguageTypeScript

Swiper Backend Engineer 題目實作

Document


環境變數

  • PORT: server port3000
  • MONGO_ADDR: mongodb 的連線位址, 預設為mongodb:27017

docker-compose

vim docker-compose.yml
    ports:
      - 3000:3000
docker-compose up --build

How to start

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

License

Nest is MIT licensed.