An open API service indexing awesome lists of open source software.

https://github.com/aanddi/remostar-backend


https://github.com/aanddi/remostar-backend

jwt nestjs nodejs postgresql prisma typescript

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

## Description

[Nest](https://github.com/nestjs/nest) framework TypeScript starter repository.

## Installation

```bash
$ yarn install
```

## Running the app

```bash
# development
$ yarn run start

# watch mode
$ yarn run start:dev

# production mode
$ yarn run start:prod
```

## Для запуска, в БД уже должна быь ролевка
```
INSERT INTO roles (id, role_name, role_desc) VALUES
(1, 'OWNER', 'Собственник'),
(2, 'EMPLOYEE', 'Подрядчик');
```

```
INSERT INTO employees_roles (employee_role_id, role_name, role_desc) VALUES
(1, 'ADMIN', 'Администратор'),
(2, 'MANAGER', 'Менеджер'),
(3, 'BRIGADIER', 'Бригадир')
```