2 ms·
I've been working on a "mildly dynamic website" using a modern stack: A simple Rust webserver (about 30 lines setup in the Axum framework) running in a trivial
by nicoburns 5y ago
I've been working on a "mildly dynamic website" using a modern stack: A simple Rust webserver (about 30 lines setup in the Axum framework) running in a trivial Docker image (just copies in the binary + static assets) hosted on fly.io (which is completely managed and free for up to 3 VMs).
It's been great: I have all the flexibility of a dynamic template engine and a turing complete language running before that. But equally if I want to hardcode HTML then I can. And because it's Rust its still wicked fast (I'm getting 50ms page loads including all assets) and resource usage is almost non-existent (it's running on a VM with 256mb ram).
- chasd00 5y agoI’ve done the same with nodejs, express, ejs, and bootstrap. I deploy with git to dokku running on linode with letsencrypt setup. That’s a lot of words but it’s bot as complex as it sounds and once it’s setup, enhancements are easy. I run a small laser cutting service for the rocketry hobby. That stack works pretty well for me. Edit: payments are handled by stripe