| Here is my latest Frontend:
bun, solid.js, tailwind, astro -> cloudflare pages tbh I had a smoother setup with solid-start but astro is better if you have static pages and everything I do is static pages: either pre generated static content or an app which calls an API. I don't want a server busy rendering HTML and we have free hosting anyway thanks to all the JAMstack marketing money. Backend:
rust, axum, sqlx, sqlite, redid, systemd -> hetzner Single static binary is great for deploying whenever. Rust means my code won't likely break because of typos or brain farts.
You likely don't need a database running in another process until much later on. If I do need it, I pick postgres. I do have a separate, centralised auth / permissions / license services I use for a bunch of different services. Custom coded. Services get notified and update a local cache in redis with the data If I were starting from scratch I'd just chuck it in the main service (and what I did for years). |