Microsserivço de notificação
- Create Notification
- Read Notification
- Unread Notification
- Cancel Notification
- Count Notification
- Nest.js
- Jest
- Prisma
- SQLite
- Docker
- Apache Kafka
- Artillery
- Swagger
- PostgresSQL
First we need install all dependencies, to make this open the terminal and run:
$ yarn
Now we need create the prisma database, to do that run:
$ npx prisma migrate databaseAfter, run the command to open prisma studio if you want
$ yarn prisma studioNow you can run the micro-service and use him
$ yarn start:dev- POST:
/notifications(Create) - PATCH:
/notifications/:id/cancel(Cancel) - PATCH:
/notifications/:id/read(Read) - PATCH:
/notifications/:id/unread(Unread) - GET:
/notifications/from/:recipientId/(List) - GET:
/notifications/count/from/:id/(Count)
