Nest.js vs Express.js | Part 1

preview_player
Показать описание

.
.
.

► Music Credit:
Creative Commons — Attribution-ShareAlike 3.0 Unported— CC BY-SA 3.0
Рекомендации по теме
Комментарии
Автор

Great introduction. I think Nest is something that I'll look into for my next project. As someone who spends a lot of time in Angular, I love that Nest embraces the full power of TypeScript.

BrandonClapp
Автор

Just FYI: it is not dependency injection(DI) that assigns the appService constructor param to this.appService. That's just a typescript feature that lets you specify private/protected/public on constructor arguments that will make them available as members of the class. What the DI does is instantiate instances over your services/controllers etc and 'injects' them into the constructors. basically you never call new on anything that is provided and the DI system takes care of that as well as controlling the scope of the instances. There are 3 scopes.

1. Singleton: every time you inject it will be the same instance of the service across the entire app
2. Request: a new instance of the service is created for every request but if multiple places in one request inject the service they will be the same instance
3. Transient: every time the service is injected a new instance is created

stratvids
Автор

Use 'any' in typescript mode it great idea 👍😉
Thx for video. Very interesting to compare these awesome frameworks 💡🤗

anatolii
Автор

NestJS gives me Spring vibes which is a framework I didn't like but TypeScript support looks nice. Express with TypeScript feels nice to me.

AlexanderSuraphel
Автор

0:08 The moment u said "get out", I subscribed xD

lavanyam
Автор

Marius Love your content ! Keep it up !

somebodyyouusedtoknow
Автор

Thnx for comparsion.
Waiting for next part =)

NikolayKantur
Автор

The background music volume should be decreased through. Really informative

ashwin
Автор

Express.js FOR Frontend & Js developer (Functional based)

Nest.js FOR Backend Developer (C# .net, java spring etc. ) and New Frontend developer came from Backend -> It's me :D old .net web service developer but now developing angular2+

bilimsayar_
Автор

bro great video, how do you get the cool sakura blossom terminal cursor?

brianpwnsjustin
Автор

Thank you for useful content!, do you still use nestjs? Is it valuable to study in this moment?

loganj
Автор

Uhh . . . They removed the hamburger icon.

ycx