Skip to content

Personal

Docker Compose: API, database and mail

An Express API with PostgreSQL and a development mail server, run together with Docker Compose.

Approach

  • Compose services: PostgreSQL, the app and MailDev on a shared network.
  • Routes list users and send an HTML email to a user with Nodemailer (MailDev in development, SMTP otherwise).
  • An init SQL script creates the table and sample rows.
Role
Sole developer
Period
Apr 2025 – Present
Stack
Node.jsExpressPostgreSQLNodemailerDocker Compose

Have a project in mind?

Tell me what you are building. I reply by email, usually within two working days.

Start a conversation