/moit-backend

제1회 Unidthon 대상 수상작

Primary LanguageTypeScript

한번에,빠르게 moit - backend

제1회 Unidthon 대상 수상작

대학생을 위한 배달 서비스 @Frontend @IOS

Installation

$ npm install

Prerequisite

# install ts-node (may need sudo)
$ npm -g install ts-node

# install sqlite3 (for test)
$ sudo apt-get install sqlite3
$ sqlite3 --version

# install global ts-node
$ npm install -g ts-node

Running the app

# local
$ npm run start

# production mode
$ npm run start:prod

Test

# unit test
$ npm run test

# e2e test
$ npm run test:e2e

# test coverage
$ npm run test:cov

Lint

use settings.json in VSCode

open settings

# cmd + shift + p (or ctrl + shift + p)

write lint settings

"editor.formatOnSave": true,
"[typescript]": {
  "editor.defaultFormatter": "esbenp.prettier-vscode"
}