Restful API with NodeJS, Express, Typescript & Mongo / Mongoose [2020]

Опубликовано: 24 Июль 2026
на канале: The Nerdy Canuck
23,686
469

Continuing the Typescript ways, here is how you connect mongoDB to nodeJS using express, typescript and mongoose alltogether! Woohoo!

Like this video? You can show your support by buying me a coffee ☕❤️: https://www.buymeacoffee.com/nerdycanuck

If you do not have a restful api, you can follow the tutorial I previously made here:    • Restful API with NodeJS, Express & Typescr...  

If you do not know how to setup a free mongoDB, you can watch this video here:    • Set up a Free MongoDB [Quicktip]  

As always, here is a link to the github repository with all the juicy code: https://github.com/joeythelantern/nod...

Music by: Tesko / prod. THXMOS

Disclaimer: I am by no means a professional. I am just programmer with a lot of experience who would rather teach what he knows for free in his spare time in order to pay it forward. 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 typescript world 😊.

Chapters:
00:00 Intro
00:44 NPM Packages & Basic Config
04:25 Connect Node to Mongo
05:45 Creating the Model & Interface

09:14 Mongoose / Mongo Functions
13:59 Post Function

#typescript #nodejs #mongo