Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 945 Bytes

readme.md

File metadata and controls

53 lines (38 loc) · 945 Bytes

Notification API with NestJS

Description

This is a simple API to send notifications to users. It uses NestJS, prisma and postgresql.

Features

[] - 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

Installation

  • 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