Continuing the Typescript ways, here is how you connect mongoDB to nodeJS using express, typescript and mongoose alltogether! Woohoo! If you do no thave a restful api, you can follow the tutorial I previously made here: https://youtu.be/vyz47fUXcxU If you do not know how to setup a free mongoDB, you can watch this video here: https://youtu.be/7pGh1DZSLQo As always, here is a link to the github repository with all the juicy code: https://github.com/joeythelantern/node-express-typescript-quickstart Music by: Tesko / prod. THXMOS 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
Continuing the Typescript ways, here is how you connect mongoDB to nodeJS using express, typescript and mongoose alltogether! Woohoo! If you do no thave a restful api, you can follow the tutorial I previously made here: https://youtu.be/vyz47fUXcxU If you do not know how to setup a free mongoDB, you can watch this video here: https://youtu.be/7pGh1DZSLQo As always, here is a link to the github repository with all the juicy code: https://github.com/joeythelantern/node-express-typescript-quickstart Music by: Tesko / prod. THXMOS 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