This is a simple API to send notifications to users. It uses NestJS, prisma and postgresql.
[] - Create new notifications for users [] - Mark a notification as read [] - Mark a notification as canceled [] - Delete a notification [] - Detail a notification [] - Unit tests for all use cases [] - SOLID and Clean Architecture principles [] - postgresql image with docker-compose
- Clone this repository
- Install dependencies
$ npm install
or
$ yarn install
-
Configure your database connection in the .env file
- You can use the docker-compose to create a postgresql database
$ docker-compose up -d
- Run the migrations
$ npm run prisma:migrate:dev
or
$ yarn prisma:migrate:dev
- Run the application
$ npm start
or
$ yarn start
- access the application at http://localhost:3000 [http://localhost:3000]