A server for Mailmerger
- Manage campaigns
- Custom templates
- Preview email templates
- Blast emails from imported csv files
Tools to install:
- rubenv/sql-migrate: SQL schema migration tool for Go.
- cortesi/modd: A flexible developer tool that runs processes and responds to filesystem changes
- Install Docker Engine | Docker Documentation
Copy the example.dbconfig.yml
adjust to your local setup.
# run postgres & create the db
make run-dev-postgres
# run schema migration
make migrate-up
# run mailhog the email server
make run-dev-mailhog
# run server using modd
make run-server
erDiagram
Campaign ||--o| File: have
Campaign ||--o| Template: have
Campaign ||--o{ Event: have
Campaign {
id string
file_id string
template_id string
subject string
body string
}
File {
id string
name string
path string
}
Template {
id string
name string
html string
}
Event {
id string
created_at timestamp
status string
detail string
}