https://github.com/zaikoxander/notifications-service
Back-end de serviço de notificações feito em Nest.js, Typescript, Prisma e Jest para testes. Ignite Lab 2022 Node.js
https://github.com/zaikoxander/notifications-service
backend ignite-lab jest microservice nestjs notification-service prisma-orm rocketseat typescript
Last synced: 2 months ago
JSON representation
Back-end de serviço de notificações feito em Nest.js, Typescript, Prisma e Jest para testes. Ignite Lab 2022 Node.js
- Host: GitHub
- URL: https://github.com/zaikoxander/notifications-service
- Owner: ZaikoXander
- Created: 2022-12-13T20:12:33.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-04T22:30:53.000Z (over 3 years ago)
- Last Synced: 2025-05-18T18:13:20.028Z (about 1 year ago)
- Topics: backend, ignite-lab, jest, microservice, nestjs, notification-service, prisma-orm, rocketseat, typescript
- Language: TypeScript
- Homepage:
- Size: 116 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Descrição
Uma aplicação de serviço de notificações construída no Ignite Lab 2022 de Node.js.





## Instalação
```bash
# npm
$ npm install
# ou use yarn
$ yarn
```
## Inicializando a aplicação
```bash
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
```
## Testes
```bash
# unit tests
$ npm run test
# test coverage
$ npm run test:cov
```
## Testes da integração com Kafka
É preciso fazer um clone do [repositório](https://github.com/ZaikoXander/kafka-producer) abaixo:
```bash
# kafka producer
$ git clone https://github.com/ZaikoXander/kafka-producer.git
```
Ao abri-lo rode o script abaixo para testar a criação de notificações:
```bash
# npm
$ npm run produce
# ou use yarn
$ yarn produce
```
### Autor: ZaikoXander(Alex Daniel)