I am not trying to deploy Biff, but I have one doubt and suggestion in https://biffweb.com/docs/tutorial/deploy/ 1. Does Biff support only mailer send? Does it not support SMTP, sot that one has wider choices? 2. Many small developers can't afford a managed Postgres. It will be great if the docs include installation and connecting to Postgres. May be one can afford more RAM. That too services like OVH https://www.ovhcloud.com/ , do provide a lot of RAM at economic prices.
Hey!
1. the only mailersend-specific code is the com.example.email/send-mailersend function in the starter project. So if you want to use another provider (whether via SMTP or via their own HTTP API), you just need to rewrite that one function. I haven't written an SMTP implementation myself, but I've written implementations for mailgun and postmark in the past. It's pretty straightforward.
2. For deployments where $15/month for managed postgres isn't worth it, it can also be a totally fine option to simply use disk-based persistence with filesystem backups. For some of my own projects I've done that and relied solely on digitalocean's weekly filesystem backups. It just depends on the app and what your tolerance for data loss is. But agreed it could be nice to still have a how-to doc for setting up non-managed postgres in prod. I probably won't get around to writing it myself any time soon, but if you happen to write such a document I'll add a link to https://biffweb.com/docs/library/.