Live data from Hacker News

Ask HN: What web stack would you use for startup, and why?

news.ycombinator.com

21–30 of 45 posts

Re: Ask HN: What web stack would you use for startup, and why?

#21

Supabase + Next.js is what I'm using. To cover your list: - Auth: Supabase has auth, with oauth support for many services. Also prebuild UI for login forms etc. It's really easy to set up - Live updates: Supabase has a realtime api to send messages, or subscribe to db changes - Database: Supabase is basically a Postgres database with a bunch of stuff on top, it generates a REST/GraphQL api from your schema, meaning y…

Seems very interesting. What would recommend for followings:

1) Background jobs - Something like Sidekiq for Rails.

2) Admin Dashboard - Something admin interface of Django or active-admin for Rails

3) Authorization

4) Is NextJs good for working with Websockets ?

Do you have/know any git repository which implements this stack ?

Re: Ask HN: What web stack would you use for startup, and why?

#22

Supabase + Next.js is what I'm using. To cover your list: - Auth: Supabase has auth, with oauth support for many services. Also prebuild UI for login forms etc. It's really easy to set up - Live updates: Supabase has a realtime api to send messages, or subscribe to db changes - Database: Supabase is basically a Postgres database with a bunch of stuff on top, it generates a REST/GraphQL api from your schema, meaning y…

I would go for something similar.

I would try supabase + Astro.

With astro you can have more choice in frontend framework, vanilla js, alpinejs, react, svelte, vue.

I recently made a portfolio website for my girlfriend and the experience was awesome.

https://zhazira.design/

If anyone's hiring junior designers ;)

Re: Ask HN: What web stack would you use for startup, and why?

#23
post #17

I haven't used it yet, but for my next full stack project I want to try Laravel with Livewire. I love Svelte for client side stuff but in truth 80-90% of UIs can be solved with HTML over the wire.

I have finally a disconnect between investor expectations and the reality of shipping prototypes with php that I wonder if anyone else has seen? One recent raise that I was talking a new entrepreneur through had the investor take a hard pass as soon as they found out he was building with Laravel. This isn’t the first time but in the past it was suspicion and wasn’t so explicit. They literally passed on giving a term…

PHP has a really bad reputation in the tech world, unfortunately.

I had that wrong idea too until very recently. I realized PHP has progressed a lot better in the last 10 years than JS has because they have the luxury of being able to control the runtime. Unlike the JS world that has to use TS as a crutch because browsers are evolving so slowly.

Re: Ask HN: What web stack would you use for startup, and why?

#24
post #23

Earlier quoted context omitted.

I have finally a disconnect between investor expectations and the reality of shipping prototypes with php that I wonder if anyone else has seen? One recent raise that I was talking a new entrepreneur through had the investor take a hard pass as soon as they found out he was building with Laravel. This isn’t the first time but in the past it was suspicion and wasn’t so explicit. They literally passed on giving a term…

PHP has a really bad reputation in the tech world, unfortunately. I had that wrong idea too until very recently. I realized PHP has progressed a lot better in the last 10 years than JS has because they have the luxury of being able to control the runtime. Unlike the JS world that has to use TS as a crutch because browsers are evolving so slowly.

Indeed. Every time I do work on a recent javascript framework I find myself crying into my coffee because of all the (what feels like) needless complexities. Svelte is pretty good though. Still love me some python, go, rust and laravel though.

Re: Ask HN: What web stack would you use for startup, and why?

#26
Do you need React or could you get away with server side rendering plus a bit of interaction on your pages (htmx)?

Unless you’re building g Facebook or Gmail-like interactivity, server side rendering might be enough. That alone could save you 3-5x the time.

Re: Ask HN: What web stack would you use for startup, and why?

#27

Supabase + Next.js is what I'm using. To cover your list: - Auth: Supabase has auth, with oauth support for many services. Also prebuild UI for login forms etc. It's really easy to set up - Live updates: Supabase has a realtime api to send messages, or subscribe to db changes - Database: Supabase is basically a Postgres database with a bunch of stuff on top, it generates a REST/GraphQL api from your schema, meaning y…

I would go for something similar. I would try supabase + Astro. With astro you can have more choice in frontend framework, vanilla js, alpinejs, react, svelte, vue. I recently made a portfolio website for my girlfriend and the experience was awesome. https://zhazira.design/ If anyone's hiring junior designers ;)

If you are building a blog or something content Astro is a great choice!

The portfolio looks great, congrats! I hope she will find a job soon, and good for you for building & promoting it ;D

Re: Ask HN: What web stack would you use for startup, and why?

#28
post #21

Supabase + Next.js is what I'm using. To cover your list: - Auth: Supabase has auth, with oauth support for many services. Also prebuild UI for login forms etc. It's really easy to set up - Live updates: Supabase has a realtime api to send messages, or subscribe to db changes - Database: Supabase is basically a Postgres database with a bunch of stuff on top, it generates a REST/GraphQL api from your schema, meaning y…

Seems very interesting. What would recommend for followings: 1) Background jobs - Something like Sidekiq for Rails. 2) Admin Dashboard - Something admin interface of Django or active-admin for Rails 3) Authorization 4) Is NextJs good for working with Websockets ? Do you have/know any git repository which implements this stack ?

1. Depends on what you need, how long it runs, etc etc. If you just need cron/triggers, Supabase can get you quite far. If you need proper processing you might need some other service or host something yourself. We use modal.com, but there are many options.

2. Three options: use the supabase admin panel, build something yourself (or use templates), or use a 3rd party tool - many low code tools can connect to postgres and there are also some specific integrations with supabase.

3. Supabase has auth built in, with RLS you can control data access.

4. Next.js is just React when it's in the browser, so yes, it will work well. If you use the Supabase realtime with their client library it will handle all the socket connection for you.

5. Have a look at https://www.madewithsupabase.com/tag/Open%20Source it's not all next.js but there are quite a few.

Re: Ask HN: What web stack would you use for startup, and why?

#30
I would use Elixir (Phoenix + liveView), to me its the most productive stack for web apps at the moment.

You can have SPA like user experience without building a separate frontend & backend. That simplifies things ALOT!

For data persistence, I would consider SQLite otherwise go with Postgres.

Post reply on HN