I've had fun over the last 3-4 days rebuilding this site!
Here's the stack:
Django
and Django Admin
backed by sqlite
for all data entry.
- A small script to copy data from the sqlite database into a JSON file used by the frontend.
Svelte
for the frontend. Sveltekit
for static site generation. Vite
is ever present under the hood.
rsync
to copy the static site directory to a Digital Ocean
droplet
Nginx
running on the droplet to serve the site
Cloudflare
to handle HTTPS and caching
I've taken Django Admin's capability for granted for more than a decade, but I got an opportunity to appreciate this time. I tried to vibe-code the admin backend. But it came nowhere close to Django's quality. So I stuck with Django.
As a fairly new Svelte user, I was pleasantly surprised by how well SvelteKit works. Navigating between pages is a breeze since SvelteKit intelligently prefetches data and components in the background.
Since the workflow is now smooth enough, I'm tempted to chirp more!