Live data from Hacker News

Ask HN: What would be your stack if you are building an MVP today?

news.ycombinator.com

291–300 of 736 posts

Re: Ask HN: What would be your stack if you are building an MVP today?

#291
post #255

Earlier quoted context omitted.

That's basically what I mean. I just want to deploy the app and not have to worry about anything OS-related, including IIS config, SSL, etc.

That's exactly what I do - I build a monolith using the self-contained deployment feature and zip it up to the server to run. The management of certificates, configuration, etc. is built directly into any product I work on. Outsourcing this stuff to IIS, et. al. is exactly how you wind up hating all of this tech in the first place. Prerequisites are zero if you do this right. I can take a blank EC2 server, copy the b…

How do you setup your webserver. This is the most challenging part for me.

Here's my process. Build locally, publish, upload to server, dotnet run... Now what?

Re: Ask HN: What would be your stack if you are building an MVP today?

#292

Definitely old schools. I am building a MVP right now(kinda building my parachute while jumping off the plane)and I went with Django. And here is why. 1. Very vibrant community of devs and time-tested open-source libraries.If you want a multi-tenancy there is a library for that. IF you want stripe integration there is one for that. If you want "fully built out" services, then we have a plethora of free and paid templ…

one thing I'd like to see in Django is something similar to InertiaJS [1], just being able to use VueJS for the view layer is amazing and passing data from the backend to the frontend without having to build complex api systems is a godsend. Maybe I haven't done enough research but is there something similar in Django world ? [1] https://inertiajs.com/

Still a bit raw on the edges, but IDOM [0] looks interesting and has a Django integration [1].

[0]: https://idom-docs.herokuapp.com/docs/index.html [1]: https://github.com/idom-team/django-idom

Re: Ask HN: What would be your stack if you are building an MVP today?

#293

Definitely old schools. I am building a MVP right now(kinda building my parachute while jumping off the plane)and I went with Django. And here is why. 1. Very vibrant community of devs and time-tested open-source libraries.If you want a multi-tenancy there is a library for that. IF you want stripe integration there is one for that. If you want "fully built out" services, then we have a plethora of free and paid templ…

[deleted]

Re: Ask HN: What would be your stack if you are building an MVP today?

#295

Personally big on Rails (use it at work every day). But, my last MVP I did with TS/Next/Mantine/Supabase/Vercel. Reasons: - I've been using Rails as an API only, so having to grok views felt like a waste. My React skills made me feel that learning how to make complex views in my backend was a waste of time. - One type of bug I hate is ensuring my API calls have the right schema. With Supabase and TS in the frontend,…

What's RLS? Row Level Security?

Correct. We suggest using Postgres Row Level Security if you use the Supabase APIs + Auth: https://supabase.com/docs/guides/auth/row-level-security

You don't have to use RLS if you BYO middleware, but the RLS approach give you the option to do `frontent backend` (vs `frontend middleware backend`)

Re: Ask HN: What would be your stack if you are building an MVP today?

#296

Earlier quoted context omitted.

one thing I'd like to see in Django is something similar to InertiaJS [1], just being able to use VueJS for the view layer is amazing and passing data from the backend to the frontend without having to build complex api systems is a godsend. Maybe I haven't done enough research but is there something similar in Django world ? [1] https://inertiajs.com/

Still a bit raw on the edges, but IDOM [0] looks interesting and has a Django integration [1]. [0]: https://idom-docs.herokuapp.com/docs/index.html [1]: https://github.com/idom-team/django-idom

interesting, is this something similar to htmx ?

Re: Ask HN: What would be your stack if you are building an MVP today?

#297

Earlier quoted context omitted.

Same, Next.js, Vercel, Prisma, Supabase. I push to my GitHub repo and the site is live and deployed in less than a minute. With the stack you can use the same language, DTOs, libraries, etc.. both server and client side. Server side rendering ensures a graceful handoff between server rendered state and the resulting app state on the client. I’m also using MUI which includes all the components you need for a front end…

This stack is pretty incomplete for most MVPs, as unless you're building something trivial like a landing page, you'll probably at some point also need libraries or a custom implementation for: - Validations - Translations - Error and request logging and auditing - Security (CQRS, CORS, CSRF) - Permissions and a way to integrate it with your authentication (does supabase handle this? don't know) - Email sending - Bac…

That stuff isn't "hard" per se, and some of that stuff isn't even needed for a MVP, they're good to haves or only really required when you've got 100s of users (product dependant of course). If the MVP doesn't get there either iterate product or bin it

Re: Ask HN: What would be your stack if you are building an MVP today?

#298
post #67

SvelteKit + Supabase. It’s the opposite of what a lot of people recommend. It’s not battle tested. Both of these technologies are still maturing BUT: I can write everything in JS/TS, I don’t have to get good at Ruby PHP or Python Postgres is a great skill to learn. Supabase is portable and can be self hosted, and its JS client is easy to use for DB manipulation and stuff like object storage. For me, building a true f…

So I’m fairly new to the world of full stack web development. I’ve been trying to make an MVP using SvelteKit and Firebase, but what I’m running into is that they both kind of try and avoid a separate backend in different ways that seem to sometimes conflict with each other.

For instance, Firebase is meant to connect on the client so you don’t need the backend database connection, but then you can’t use SvelteKit’s SSR. Does Supabase work similarly in this aspect? What do you do in this situation?

Re: Ask HN: What would be your stack if you are building an MVP today?

#299

- Server: Node.js + SQLite I know JS very well, so writing HTTP handlers is quite fast. Node runs on V8, which is probably the fastest runtime for dynamic code. SQLite makes development easier as it’s just a file, gives you ACID. - Frontend: React/Mobx/Tailwind SPA hosted on firebase hosting. I think the concept of JSX (write your HTML with JS) is good as it gives you a real language instead of a restricted templatin…

I’m keen on this approach for my next project.

Can you share any Dockerfiles / scripts you use to get going with this?

Re: Ask HN: What would be your stack if you are building an MVP today?

#300

Personally big on Rails (use it at work every day). But, my last MVP I did with TS/Next/Mantine/Supabase/Vercel. Reasons: - I've been using Rails as an API only, so having to grok views felt like a waste. My React skills made me feel that learning how to make complex views in my backend was a waste of time. - One type of bug I hate is ensuring my API calls have the right schema. With Supabase and TS in the frontend,…

Same, Next.js, Vercel, Prisma, Supabase. I push to my GitHub repo and the site is live and deployed in less than a minute. With the stack you can use the same language, DTOs, libraries, etc.. both server and client side. Server side rendering ensures a graceful handoff between server rendered state and the resulting app state on the client. I’m also using MUI which includes all the components you need for a front end…

This is a really nice stack and what I’m using together with a colleague right now.

Do you use the serverless functions available with Vercel/Supabase? If so, I’m curious how you choose when to go with each provider.

Post reply on HN