Live data from Hacker News

Ask HN: If you were to build a web app today what tech stack would you choose?

news.ycombinator.com

171–180 of 214 posts

Re: Ask HN: If you were to build a web app today what tech stack would you choose?

#171
post #154

I’d use whatever scales best for the least cost. Go backend. Single binary. Big performance. I’d use Go for as many things as possible until I actually had a need for distinct technologies (queues, redis, etc.). Throw embedded db into the mix and you shouldn’t have any problems for a long time. React UI on cloudflare pages. Free. Easy. Postgres. Single node goes far. Great plug n play extensions. Same as with Go I ca…

Do you by any chance know whether there's something like a go library or converter/transpiler that allows you to reuse the structs from a backend on the client side? Currently I always have a little redundancy in my projects when it comes to the JS HTTP client that calls the golang backend's API and I want to avoid that.

Not that I am aware of. If there is one I’d try it out.

I usually just make the types by hand on TS client.

Maybe gpt :p

Re: Ask HN: If you were to build a web app today what tech stack would you choose?

#175

I just started a project and chose this stack: - SSR SvelteKit with Hydration ( https://github.com/sveltejs/kit ) - PostgreSQL database server - Postgres.js - PostgreSQL client for Node.js ( https://github.com/porsager/postgres ) - Migration powered by graphile-migrate ( https://github.com/graphile/migrate ) - PostgreSQL Row-Level Security ( https://www.postgresql.org/docs/16/ddl-rowsecurity.html ) - svelte-headlessu…

[deleted]

Re: Ask HN: If you were to build a web app today what tech stack would you choose?

#176

I just started a project and chose this stack: - SSR SvelteKit with Hydration ( https://github.com/sveltejs/kit ) - PostgreSQL database server - Postgres.js - PostgreSQL client for Node.js ( https://github.com/porsager/postgres ) - Migration powered by graphile-migrate ( https://github.com/graphile/migrate ) - PostgreSQL Row-Level Security ( https://www.postgresql.org/docs/16/ddl-rowsecurity.html ) - svelte-headlessu…

Why did you choose sveltekit-i18n instead of another svelte i18n lib?

Re: Ask HN: If you were to build a web app today what tech stack would you choose?

#177
i cannot answer objectively for obvious reasons. but i am very happy with Go back-end, Quasar front-end, JSON for message formatting and MariaDB for data storage. I have made couple of project in this manner, in addition to previous ones, so I am very happy with this setup and cannot really imagine trying anything else that would work better. Quasar can be also built into a mobile app which is another bonus.

Re: Ask HN: If you were to build a web app today what tech stack would you choose?

#179

.NET 8 for the backend, and then blazor webassembly for the front end if it's complicated, or just boring old server side rendering with htmx if it's not. I've seen a lot of projects fail/struggle in golang (package ecosystem is still missing a lot of basics imo) or nextjs (very buggy). .NET has been my secret weapon. It's boring, works really well, has a good ecosystem and asp.net is really well thought through and…

I am personally new to the .NET world but the idea that you can mostly replace JavaScript with Blazor component is fascinating to me and I am really trying to get more into it. Also, Microsoft stuff gets a bad rep in general but .NET ecosystem is solid and I am loving it. Otherwise, I do PHP/Laravel and Go.

Re: Ask HN: If you were to build a web app today what tech stack would you choose?

#180
I started work on a passion project recently and chose to use Next.JS on Vercel. It's new to me and so there was a little bit of a learning curve but that was part of the fun.

Seems super simple to get up and running and let's you focus on the product itself rather than the stack.

Alternative answer: Use whatever you're most familiar/comfortable with.

Post reply on HN