Skip to content

hanriel/EDUMGT-API

Repository files navigation

EDUMGT Logo

API for EDUMGT project.

Quality Gate Status Docker deployment

Description

EDUMGT-API - API for EDUMGT (Education organization managhment system). Basen on Nest framework.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Build docker image

docker build -t edumgt-api:latest

Enviroment varibles

Database

DB_HOST = "127.0.0.1"
DB_PORT = "3306"
DB_USER = "user"
DB_PASSWORD = "password"
DB_NAME = "edumgt"

TelegramBot

TELEGRAM_BOT_TOKEN = "12345"
ADMIN_TG_CHATID = "1234"
EPOS_LOGIN = "1234"
EPOS_PASSWORD = "1234"

Test (not now)

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Stay in touch

License

EDUMGT-API is MIT licensed.