# NestJS MQTT
#### subscriber/publisher/processor

## Installation

```bash
$ pnpm install
```

## Running the app

```bash
# development
$ pnpm start

# watch mode
$ pnpm start:dev

# production mode
$ pnpm start:prod
```

## Lint & Prettier, Test & Coverage

```bash
# lint tests
$ pnpm lint

# prettier write
$ pnpm format

# unit tests
$ pnpm test

# test coverage
$ pnpm test:cov

# test e2e - Start mosquitto broker in the background at localhost:1883!
$ pnpm test:e2e
```