Skip to content

siddh34/email-server

Repository files navigation

Emailer

Swagger docs at /api endpoint

ENV To Setup

RESEND_API_KEY
PLUNK_API_KEY

Description

  • Contains two email providers for emailing Resend and usePlunk
  • Has a retry machanism
  • Has status tracking of emails sent or not sent
  • Has duplicate send prevention

Project setup

local setup & start

pnpm install
pnpm run start

Run on Docker

docker compose build
docker compose up -d

Compile and run the project

# development
$ pnpm run start

# watch mode
$ pnpm run start:dev

# production mode
$ pnpm run start:prod

Run tests

# unit tests
$ pnpm run test

# test coverage
$ pnpm run test:cov

Resources