Skip to content

zamasskin/tiande-api

Repository files navigation

Апи для сервисов tiande.ru

Установка

$ npm install

Настройка

Для настройки нужно создать файл с именем .env которое содержит подключение к бд и другие настройки. Пример:

PORT=3000

DATABASE_HOST=127.0.0.1
DATABASE_PORT=3306
DATABASE_USER=
DATABASE_PASS=
DATABASE_NAME=

Запуск

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Тестирование

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages