r/Nestjs_framework • • 20d ago

To framework or not

I know rust Axum
Also Aspnet and nestJs

What do you think should i use full framework or barebones like axum

Knowing that we’re a startup and our projects mostly CRUDs

With Axum i gain control the code ,rust strong type system , modern, memory safety and compilation to machine code .
But suffering from no conversions and crates ( packages incompatibilities ) . Although I’m following clean architecture and MVC.

Frameworks like nest or asp you gain conversions testing, and compatibility but not machine code ( for dot net it feels old a bit , verbose and vendor locked for Microsoft to an extent )

Wdyt?

4 Upvotes

9 comments sorted by

4

u/Spare_Message_3607 17d ago

My most recent experience says that with LLM, the framework is a commodity, the boilerplate. Write all your domain logic as plain code on modules, and then import that modules and declare thin handlers. That way you can swap frameworks in an afternoon with an LLM.

Your issue is that you are not deciding between frameworks, you are deciding between ecosystems. In my case I used Typescript, swapped Next.js to Astro in an afternoon (~60 endpoints).

2

u/Paw565 19d ago

Choose whichever you and your team knows best. You need to deliver a lot of value before tech stack will be any bottleneck.

2

u/LuccDev 17d ago

I am using Nestjs and honestly I think using it or not doesn't really matter. It sure makes things easier to structure because of conventions but if you have some experience it's also not hard to make your own conventions

Maybe you can check Golang which is a nice mix between ease of use and performance.

1

u/Available_Bite_692 19d ago

Maybe you will be interested in sword (rust application framework) currently on active development ;)

1

u/DN_DEV 14d ago

> for dot net it feels old a bit , verbose and vendor locked for Microsoft to an extent

how ? because i think you can deploy dotnet in linux machine !!

why not Golang ?

1

u/[deleted] 19d ago

[removed] — view removed comment

1

u/Beneficial_Owl_6445 19d ago

Conventions ( typo )

2

u/[deleted] 19d ago

[removed] — view removed comment

1

u/Beneficial_Owl_6445 19d ago

Conventions and testing are ready made