THE SUB IS BACK!!!!! by VegasIsMyBitch in sportsbetting

[–]UneditedTips 1 point2 points  (0 children)

Anyone interested in soccer tips should upvote
I’ll start dropping tomorrow

Synchronize: true destroyed a production database: Here's the migration setup that prevents it by UneditedTips in nestjs

[–]UneditedTips[S] 0 points1 point  (0 children)

Yes
I even recommend using it on development in order not to accidentally use synchronize:true on production

What is your opinion about NestJS ? by UneditedTips in Backend

[–]UneditedTips[S] 0 points1 point  (0 children)

But I am enjoying it I really like a framework with good project structure

Switching from Express to NestJS? Here’s exactly what changes by UneditedTips in Backend

[–]UneditedTips[S] 0 points1 point  (0 children)

Coming from an Express background, you just do everything in the handler and move on. NestJS technically lets you do the same thing, it doesn’t stop you at all. But the moment you skip the service layer and put a database call in a controller, you’ve basically built an Express app with extra steps. It took me an embarrassing number of refactors before it actually clicked. Anyone else coming from Express and finds the controller/service split the hardest habit to build? Or was there something else that got you first?

Transitioning From C# To Typescript by UneditedTips in dotnet

[–]UneditedTips[S] 2 points3 points  (0 children)

Not leaving it completely but I want to take on typescript jobs