Typescript Express API with MongoDB, Mongoose and Decorators

preview_player
Показать описание
Learn how to use Typescript Decorators to access mongoDB using Typescript!

Music by Tesko / prod. THXMOS:

Support

Socials
Twitter: / thenerdycanuck

About The Channel
The knowledge that I share here is mostly from my personal experiences. I wouldn't say I'm a 20 year professional, rather I am just a DevOps / Software Engineer with a lot of experience who enjoys teaching what I know in my spare time. I believe that sharing some of my basic knowledge on this platform can help others get started. There are many ways to program something and the videos you see here are my take on the NodeJS / Typescript / and sometimes Unity world. If this channel helps you learn, or helps you think differently then my job is done 😊.

Chapters:

0:00 Introduction
1:11 Mongoose Install & Config
5:07 Model Definition
7:03 Controller Definition
11:11 Decorators

#typescript #nodejs #express
Рекомендации по теме
Комментарии
Автор

M8, you are one of the best tutors, nice, clean, no trash talking, perfect tempo, pure and calm voice, and most important - pure essence. I keep fingers corssed for your success as a tutor.

piotrszymanski
Автор

very very good. I Lover your best practice

fatahbe
Автор

Honestly at this point if you're using typescript you should just go NestJs cause this way of woking with express is just very VERY close to what nest does (as it uses express under the hood) so if you're gonna use express this way just save yourself the trouble and go Nest. Great vid nevertheless

lucascubile
Автор

great playlist. plus point could be adding auth and protected routes.

admr
Автор

Great playlist! Can you show how to do auth using decorators?

KrzysztofLuczakPro
Автор

Why do you make the decorator of the mongoose decorators in middleware form? You only showed one really briefly at the end and I want to know why I should or should not make the middleware variants.

sjorsklaassen
Автор

So i noticed that the class `this` returns undefind, might this due to how the controller decorator was done?

chineduekeneokpala
Автор

This is a great series of videos, also I think you’re a great tutor. However I don’t think this is the best way to show people how to do, your application is coupled with mongo which is far from a best practice (n-tiers, clean, …)

fouratzitouni
welcome to shbcf.ru