BudgetBuddyDE

Mail-Service

Overview

The Mail-Service is based on React-Email and Resend, and uses Bun as the underlying framework. In the future, the service will be rebuilt as a native solution without relying on an external SaaS, in order to prevent dependency on external providers and to avoid sharing data with Resend.

Getting started

1. Clone the repo

git clone git@github.com/BudgetBuddyDE/BudgetBuddyDE.git
cd services/mail-service

2. Install required dependencies

npm install

3. Set all required environment variables

cp .env.example .env

Adjust the values in the .env file according to your setup.

4. Start the application

bun run dev

5. (Optional) Execute a compiled binary

# Compile to binary
bun build ./src/server.ts --compile --outfile cli
# Execute binary
./cli

Templating

1. Start the react-email server

bun run email:dev

Processes

Opt-in