Hacker News new | ask | show | jobs
by FlyingSnake 971 days ago
Django with HTMX + Alpine on the frontend. Deployed as Docker container on a cheap VPS. It's boring, time tested but by Jove, does it get the job done fast.

I'm building a B2B2C marketplace in my free time and I'm blown away by the practicality of this stack. Due to longevity of Django, every problem I encounter is just a search away. DRF makes it dead simple to add REST APIs. The Admin panel is a golden cherry on top.

2 comments

Yeah, this is exactly what I do as well. I'd be curious to hear more about your deployment process, specifically how you get your Docker image onto the VPS. Do you just push to a registry like DockerHub and then pull it down on the VPS?
Yes, I use GH actions to push it to a registry and then manually pull it on the VPS. I’m sure there are better ways to automate this but I’m too lazy at this point to implement them.
You can use Watchtower (https://containrrr.dev/watchtower/) that solves problem of manual pulling on VPS.
Sounds good. Do you do type checking? DB?
Yes, using mypy and planning to check out Ruff instead. PostgreSQL for prod DB, SQLite for local dev.
mypy and ruff are complementary, and as far as I know have no overlap. Strongly recommend using both.