is nest js the laravel of the javascript land?

I really love the laravel approach like all the batteries to implement nearly anything you want out of the box From queues to auth, etc, I am planning to rewrite a current project based on t3 stack. i really loved it, but things are getting too complex, so i want to break to backend and frontend separation type of thing Just wanted to get your views on nest js for the backend i hate the syntax though i would have loved to use express js but just that i want something close to the,DX t3 stack provides but regular rest api based and TypeScript Also, websockets, web hooks, and queues are very much present on it and one of the reasons i am moving of the t3 stack.
13 Replies
Grey
Grey•2y ago
As someone who's extensively tried express,fastify,nest etc., if you're looking for a batteries-included approach, yes nestjs is very good. But, if you care about performance and are willing to do some setup yourself, then I'd strongly recommend HonoJS
Lopen
Lopen•2y ago
Just looking at the github page for hono js I see they are still making breaking changes I don't want to use something bleeding edge for production this delicate
Grey
Grey•2y ago
well then tryout fastfiy if you're not into using bleeding edge tech it's as fast as a node server can get (without giving up convenience)
Lopen
Lopen•2y ago
Fast isn't on my scale of preference I rate DX more before performance because i believe performance can be fixed with structural changes, but nothing can fix DX
Grey
Grey•2y ago
well if you're that bent on with the "DX", then all I can say is: pick what you like as everyone has their own preference over "dx"
Lopen
Lopen•2y ago
T3 stack has spoilt me🙊
Grey
Grey•2y ago
don't be dependent on one tech 😉, drizzle/kysely as a competitor to prisma is a good example of that, as tech changes rapidly; so you should be willing to check a broader range of tech out
Lopen
Lopen•2y ago
Why are people still using php 6 and 7 till now🫠 Even .net
Grey
Grey•2y ago
because they've effectively locked themselves into it .Net has microsoft behind it, and it's a big player in the desktop industry (c#, which is like major in the gaming dev industry) so that's why it's up there
Igal
Igal•2y ago
I don't see it like that. Kysely is next-gen Knex. It complements ORMs like Prisma - doesn't compete with them.
Grey
Grey•2y ago
hmm never thought of kysely like that, also I've never used knex before. I currently feel kysely being much closer to writing abstracted sql rather than as an orm
Igal
Igal•2y ago
Yeah, it's a query builder with 1:1* "what you see is what you get" core design principle. It is next-gen Knex, so you also get "batteries included" - migrations, execution, etc.
JacobMGEvans
JacobMGEvans•2y ago
Use #tech-discussion for discussions & debates (be sure to keep them civil and logical)
Want results from more Discord servers?
Add your server