Ask HN: What's a batteries-included framework that's React-first?
What's the closest thing to Rails, Laravel or Django but works really well with React or Svelte like Nextjs?
Doesn't seem like it exists - why not? React/Svelte clearly won on the frontend, but nextjs leaves a lot to be desired on the full stack DX. I'm looking for something more opinionated and full-featured like the traditional frameworks but that has first class support for modern frontend.
12 comments
[ 2.8 ms ] story [ 37.2 ms ] threadSome of those features: * ORM and DB migrations * Auth * Admin interface * Form handling and validation * Email sending * Background jobs
Which is why you end up needing so many different SaaS templates for Nextjs that tie all these different libraries together into a pre-built package.
For example, you get full-stack auth by just adding this to your config file:
`auth.methods: { email: {}, google: {} }`
Then you on-the-fly Auth UI components and all the necessary hooks
If you want to take a step further start from a template like astrowind.
It's opinionated performant and works really well with react, Svelte, or any other fe framework. You can even mix and match them.
But for what you are looking for you are better served by combining it with firebase or a firebase clone.
It's a true full-stack framework and even bills itself as a "Rails-like fullstack framework for React, NodeJS, & Prisma"
It manages all the boilerplatey stuff for you like Auth, Routes, Jobs, TypeSafety, Email sending, Deployments