royfuwei / iv-wemo-backend

Wemo Backend Engineer 題目實作

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wemo Backend Engineer 題目實作

Document


環境變數

  • PORT: server port3000
  • DB_HOST: postgresql 的連線位址, 預設為postgis
  • DB_PORT: postgresql 的連線port, 預設為5432
  • DB_USER: postgresql 的username
  • DB_PASSWORD: postgresql 的password
  • DB_SYNC: default: false

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.

About

Wemo Backend Engineer 題目實作


Languages

Language:TypeScript 93.7%Language:Dockerfile 3.6%Language:JavaScript 2.3%Language:Shell 0.4%