Skip to content

Runtime services

View as Markdown

Generated packages/api/mailer.ts, boot.ts, and loadApp() options.

  • createSapportaMailer() returns the Nodemailer transport, parsed defaults, and sendMail() helper.
  • Boot constructs the database connection and mailer, then passes them to loadApp().
  • Health policy accepts public, authenticated, or disabled.
  • Boot owns process signal handling, server close, transport close, and database cleanup.