Live data from Hacker News

Ask HN: Best/Simplest Stack for Side Projects

news.ycombinator.com

11–15 of 15 posts

Re: Ask HN: Best/Simplest Stack for Side Projects

#11
post #9

Earlier quoted context omitted.

Great thoughts. Actually I could host this on an RPi as I’m close in proximity to the user base. Lightsail is very interesting, I’ll take a look. Is MERN stack still in demand?

>Is MERN stack still in demand? For getting a job? Express is probably less common in enterprise, but since the whole stack is JS/TS you'll have no problem porting your knowledge from that to any of the newer server-side frameworks. React is to my knowledge still the most widely used framework in modern front-end development. Regarding self-hosting, make sure you look into isolating the RPi you use to serve your app…

Yep, fully agree about React being the most widely used framework.

And yes, good point on the Pi.

Re: Ask HN: Best/Simplest Stack for Side Projects

#12
When you say you want to build something simple with a few pages, you might be able to get by with something minimalist like Flask and maybe DataTables: https://datatables.net/

If you don’t expect to have scalability or real-time needs, I would not really recommend Elixir/Phoenix. The core language, dev tools, docs, and OTP are best-in-class, but there’s a learning curve, and the ecosystem has less mindshare than Python and Ruby.

I personally prefer Python/Django with htmx for client-side interactivity (if you need it), but if you want something better-integrated out of the box, you can’t go wrong with Ruby/Rails/Hotwire either.

Using a VPS is cheap and initially simple, but keep in mind you have to do more setup and maintenance on the OS, Web server, database, etc. yourself. I’ve had a great experience with DigitalOcean VPSs in the past, but for the app I’m building now, I am leaning toward using their managed app platform to minimize sysadmin/infra work on my part.

Re: Ask HN: Best/Simplest Stack for Side Projects

#13

When you say you want to build something simple with a few pages, you might be able to get by with something minimalist like Flask and maybe DataTables: https://datatables.net/ If you don’t expect to have scalability or real-time needs, I would not really recommend Elixir/Phoenix. The core language, dev tools, docs, and OTP are best-in-class, but there’s a learning curve, and the ecosystem has less mindshare than Pyt…

Thanks for the thoughts, I'll check out DataTables.

HTMX - looks cool, but I was reading that HTMX is susceptible to XSS. Probably avoidable with proper sanitization, but just a consideration I saw.

Which managed platform are you using? Hard to pass up a $4/mo VPS, but I am sure at some point down the line, there will be a headache in my future.

Re: Ask HN: Best/Simplest Stack for Side Projects

#14

Earlier quoted context omitted.

Never heard of Astro but looks nice. When you say none came close, in terms of what? Performance? Simplicity? Value? Dev experience? All the above?

Performance and dev experience yes. Simplicity-wise I guess one could argue that Django takes the crown as long as you're okay with the compromises you have to make. I not sure what you mean by value, if it's cost of hosting the service then I'd say yes again because it requires less resources than all the other alternatives.

I've been going thru Astro tutorials and playing around with it. Haven't done anything with Drizzle yet, but I like it a lot, thanks again for the suggestion.

Re: Ask HN: Best/Simplest Stack for Side Projects

#15

When you say you want to build something simple with a few pages, you might be able to get by with something minimalist like Flask and maybe DataTables: https://datatables.net/ If you don’t expect to have scalability or real-time needs, I would not really recommend Elixir/Phoenix. The core language, dev tools, docs, and OTP are best-in-class, but there’s a learning curve, and the ecosystem has less mindshare than Pyt…

Thanks for the thoughts, I'll check out DataTables. HTMX - looks cool, but I was reading that HTMX is susceptible to XSS. Probably avoidable with proper sanitization, but just a consideration I saw. Which managed platform are you using? Hard to pass up a $4/mo VPS, but I am sure at some point down the line, there will be a headache in my future.

Of course!

With any solution, you’ll need to have some awareness around SQL injection, CSRF, XSS, etc. Some frameworks have sensible defaults to help you avoid common mistakes, but there’s no 100% fool-proof solution.

Right now I’m in dev mode and haven’t deployed anything yet. DigitalOcean does have a managed app platform: https://www.digitalocean.com/products/app-platform

Post reply on HN