Lurker News
Specifically the backend. I'd love to hear your reasons. Do you keep one eye on what the stack would be post MVP?

1. Old schoolish (VPS - Maybe DO, Django/Flask/Rails/Remix/Next with postgres)
2. Supabase etc with JS/TS on either side of the network
3. Lambda/Cloud functions with Firebase/Dyanamo DB/Cosmos DB etc
4..n. What else and why?

Comments (723) 347 threads

Earlier comments
itslennysfault#
I really like NestJS for backend. It has great tooling and generators. It's super fast to create a REST or GraphQL API. Adding WebSockets is a breeze if you need them. It uses TypeORM which is rock solid. Also, it includes unit and e2e tests and linting out of the box. Also, if you're doing your frontend in TypeScript it's trivial to share interfaces for "type safety" across the wire.

https://nestjs.com/

brm#
Php/MySQL/html/css still the easiest simplest way to get anything out the front door
eloff#
I’m doing one right now.

Using Rust, Diesel(Orm), Postgres, compiled jinja2 templates (Askama), and a smattering of JavaScript with AlpineJS, and Tailwind. I have 100 loc JavaScript that makes it easy to replace only parts of the page via Ajax calls.
Really simple stack, really lightweight, a joy to debug, and runs instantly. The delay on my dev laptop is below 10ms, it’s undetectable.
So much better than React and Python that I use at work in nearly any dimension. I hope the mvp works out and I can quit that job one day.

fzaninotto2 replies#
If you're building a B2B app:

- Supabase on the backend (REST APIs are a solved problem, no need to spend a single hour on it)
- Auth0 for authentication (too risky to manage authentication manually)
- react + react-admin SPA on the frontend (does 80% of the job for B2B apps)
- lambda functions (for business logic that can't be exposed on the frontend)
API-centric SPAs are such a time saver... when you don't have to build the API, and Supabase covers it.
For a B2C app, you must render server-side. I'd go with:
- Postgres - Next.js or Remix - Prisma

pstorm#
Curious why you suggest Auth0 and Supabase. What is wrong with Supabase auth?
jasondigitized1 reply#
Why must you render a B2C app server side?
fzaninotto1 reply#
Because of SEO: SPAs aren’t good at using robot time efficiently
dinkleberg#
That is making assumptions about what type of service it is though. B2C doesn’t inherently imply that everything is public and needs to be indexable.

Load more comments