Hacker News new | ask | show | jobs
by tifadg1 1588 days ago
What does that bring to the table though? You'll still need to write html, css and javascript (or some dsl).

As a hobbyist Python dev who doesn't want to deal with frontend bs more than absolutely needed, I found my perfect stack - fastapi, svelte and tailwindcss.

3 comments

LiveView? It lets you not write JavaScript. Or depending on your needs, very little Javascript.

Less need for an API-layer and related contracts.

You can still use Tailwind CSS. Works quite nicely.

I use Scala.js and since my entire stack is all Scala I don't need:

- 2x developers

- 2x CI/CD stacks

- 2x build tools

- 2x model classes

- 2x instrumentation code

I could keep going but it's a pretty significant improvement especially for small teams or solo developers.

With a similar outlook to yours, I landed on django, htmx and tailwindcss.

I had started down the path of fastapi, svelte and tailwindcss, but when I figured out that htmx let me use server-rendered templates, getting rid of the api and the packaging toolchain felt more ergonomic.

And if you're doing server-rendered things instead of APIs, django has a few more batteries included. (But I really like fastapi for APIs.)