Hacker News new | ask | show | jobs
by dudboi 960 days ago
Nextjs feels like the de facto framework. Throw on Prisma and you should be all set. When you say it leaves a lot to be desired, what specifically do you think is lacking?
1 comments

There's a clear philosophical difference between a framework like NextJS and Rails/Django/Laravel. The former takes the approach of expecting users to integrate various third party libraries (ie. Prisma, PassportJS, ReactAdmin, etc) while the latter has it a lot of features built in as framework primitives and defaults.

Some 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.

Exactly. Wasp, https://wasp-lang.dev, is the only framework in the React/Node/Prisma space that's taking this opinionated approach to full-stack development.

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

"Convention over configuration" and it seems to be a dying philosophy unfortunately. Ember.js is probably the closest in the JavaScript world.