Skip to content

email server build on top nestjs, typescript, nodemailer and deployed to railway

Notifications You must be signed in to change notification settings

indraakkk/email-server

Repository files navigation

Email Server

tech stack:

  • NestJs
  • postgreSQL
  • smtp-server
  • nodemailer
  • mailparser

Prerequisite

Port

  • NestJs app use port 3000
  • SMTP Server use port 25

*If you deployed to Railways, use their internal url, since only one public domain are available

Run the app locally

$ pnpm i
$ pnpm run start:dev
$ pnpm run build

if you want to run the app from nixpacks

$ nixpacks build --name email-server .
$ docker run -it --publish 3000:3000 --publish 2525:2525 email-server

notice there is 2 port exported, one for the NestJs app and one for the SMTP Server

Testing

  • Local testing

Local test function

Local test performance

  • Prod testing

Prod test performace

About

email server build on top nestjs, typescript, nodemailer and deployed to railway

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published