Live data from Hacker News

Ask HN: What's the best tech stack for indie hacking?

news.ycombinator.com

11–20 of 22 posts

Re: Ask HN: What's the best tech stack for indie hacking?

#15

Related thread: https://news.ycombinator.com/item?id=34530052 Recently went through this discussion with two friends. For now we are doing PocketBase for a simple, extendable BaaS, Flutter for front-ends. We are starting to drool looking at Elixir, Phoenix, and LiveView from afar. But the learning curve would slow us down for the next MVP that we need to put out on a schedule.

This thread is really good and just what I was looking for - thanks!

What makes you want to use Elixir, Phoenix, and LiveView? I've never even heard of these before

Back when I dabbled in web dev in college, people only talked about the MERN stack lol

Re: Ask HN: What's the best tech stack for indie hacking?

#16

The speed at which I can develop prototypes in clojure is unmatched by anything else. REPL driven development, frontend with reagent, and sharing domain logic code across frontend and backend is invaluable. Adding spec, datascript, and core.async makes previously complex tasks extremely fast and boilerplate free. I usually prototype this way and then move things to a different stack piece by piece when others get inv…

If the dev experience is so great, why move at all?

Re: Ask HN: What's the best tech stack for indie hacking?

#17
It's been some years since I do fullstack apps in Scala/Scala.js, with no plans to go back touching js/ts for anything serious (I know, I had to touch a js project a few hours ago).

Usually, I just fork my team's template [0] which has most pieces required by a common web app. There are many types of errors that can't occur in this setup. And, if I ever need to Scale, the setup Scales pretty well with a single server (I used to run a mini block explorer that indexed the whole Bitcoin blockhain into a 2TB+ postgres database).

- [0]: https://github.com/wiringbits/scala-webapp-template

Re: Ask HN: What's the best tech stack for indie hacking?

#18
If you really want the best stack that will impress all your engineer friends then use the following:

1. Rust backend that communicates with another Go based API. Use Rust for the performance critical parts and Go for the rest.

2. Use Python to build a machine learning model of some sort for your app.

3. Build your marketing website using JAMSTACK. Use a NextJS frontend, an Express API for rendering server state. Deploy the whole thing on Kubernetes. Make sure to automate everything using CI/CD so that deployment can be done using a single command or click.

4. Build your app frontend using a mixture of SvelteKIT and server side templates. Use Svelte to provide fluid user experience and server pages for simplicity. You can also mix in React and Vue if you like. Depends on how impressed you want your friends to be.

5. Also make sure to use multiple different databases. Use PostgreSQL for relational data, MongoDB for tree like structures, and also try some SQLite for simple stuff. If your friends read HN then they're gonna be really impressed by your use of SQLite.

That should set your up, don't try to over-complicate things. With a bit of luck, you'll be able to ship real software in less than 5 years.

Re: Ask HN: What's the best tech stack for indie hacking?

#19
post #16

The speed at which I can develop prototypes in clojure is unmatched by anything else. REPL driven development, frontend with reagent, and sharing domain logic code across frontend and backend is invaluable. Adding spec, datascript, and core.async makes previously complex tasks extremely fast and boilerplate free. I usually prototype this way and then move things to a different stack piece by piece when others get inv…

If the dev experience is so great, why move at all?

Because there are not as many clojure developers and growing a team and finding particular experts in certain fields is harder.

Less amazing design/html/css people know reagent than react, for example.

Post reply on HN