News for hackers. Stuff that matters.
Re:Show HN: KitForStartups – The Open Source SvelteKit SaaS ... by fakedang on Monday September 25, 2023 @11:22AM (#37645329)
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?
Re:Show HN: KitForStartups – The Open Source SvelteKit SaaS ... by kevinak on Monday September 25, 2023 @11:26AM (#37645395)
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.

Re:Show HN: KitForStartups – The Open Source SvelteKit SaaS ... by Grimburger on Monday September 25, 2023 @01:26PM (#37647494)
> 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.

Re:Show HN: KitForStartups – The Open Source SvelteKit SaaS ... by segbedji on Monday September 25, 2023 @01:36PM (#37647635)
+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.