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
ERD
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
}