Hacker News new | ask | show | jobs
by fakedang 1002 days ago
Just tossing a question out there to more experienced folks. Doesn't it make more sense to use a more robust structure such as Django or Rails for the backend with React or Svelte for the front end, especially for starter kits like these? I think that would be more scalable when looking in the long term, as compared to relying on a single framework. There's the obvious disadvantage of having to learn more frameworks and possibly a language too, but won't it pay off later when you want to scale your SaaS?
2 comments

+1 to what @kevinak said. SvelteKit already provides some good ways to handle basic backend features. API routes, form actions etc... work great.

If needed, once can also plug in a customer Express or other Node.js servers, https://kit.svelte.dev/docs/adapter-node#custom-server.

Nah, it’s unnecessary- you can do everything in Kit, adding a pure backend would just add extra work for no reason.

Kit is built for serverless so you won’t have any issues with scaling.

> adding a pure backend would just add extra work for no reason

I see Django/React everywhere with clients though. It's far more popular than you might think, though the reasoning why can be wildly different.