Uploaded November 2023 | Updated November 2026, 1 day ago
Web Dev Roadmap for Beginners (Free!): bit.ly/DaveGrayWebDevRoadmap
This NestJS Fundamentals tutorial covers Providers and gives an example of how to create a service. After creating the service, we will use dependency injection to inject the service into our NestJS controller.
π Support me on Patreon β patreon.com/davegray
β Become a full-stack web dev with Zero To Mastery Courses:
- The Complete Node.js Developer: bit.ly/CompleteNodeJS
- Advanced React: bit.ly/AdvReactDev
- Junior to Senior Dev Roadmap: bit.ly/WebDevRoadmap-JrtoSr
π© Subscribe β bit.ly/3nGHmNn
π¬ Course Updates β https://courses.davegray.codes/
β Questions - Please post them to my Discord β discord.gg/neKghyefqh
β Buy Me A Coffee β buymeacoffee.com/davegray
π Follow Me On Social Media:
GitHub: github.com/gitdagray
Twitter: twitter.com/yesdavidgray
LinkedIn: linkedin.com/in/davidagray
π Source Code: github.com/gitdagray/nestjs-course
π Playlist for this NestJS Series: youtube.com/playlist?list=PL0Zuz27SZ-6MexSAh5x1R3rU6Mg2zYBVr
Nest.js Providers Tutorial for Beginners - Series Part 3
(00:00) Intro
(00:05) Welcome
(00:26) Starter Code
(00:45) Quick Review & Lesson Goals
(02:22) What are NestJS Providers?
(03:19) Create the Service Class
(12:59) Dependency Injection & the Constructor
(16:04) Update the Controller
(20:29) Test the Endpoints
π Tutorial References:
π NestJS Official Site: nestjs.com
π Node.js Official Site: nodejs.org
Was this NestJS Providers tutorial for beginners helpful? If so, please share. Let me know your thoughts in the comments.
#nestjs #provider #tutorial
Web Dev Roadmap for Beginners (Free!): bit.ly/DaveGrayWebDevRoadmap
This NestJS Fundamentals tutorial covers Providers and gives an example of how to create a service. After creating the service, we will use dependency injection to inject the service into our NestJS controller.
π Support me on Patreon β patreon.com/davegray
β Become a full-stack web dev with Zero To Mastery Courses:
- The Complete Node.js Developer: bit.ly/CompleteNodeJS
- Advanced React: bit.ly/AdvReactDev
- Junior to Senior Dev Roadmap: bit.ly/WebDevRoadmap-JrtoSr
π© Subscribe β bit.ly/3nGHmNn
π¬ Course Updates β https://courses.davegray.codes/
β Questions - Please post them to my Discord β discord.gg/neKghyefqh
β Buy Me A Coffee β buymeacoffee.com/davegray
π Follow Me On Social Media:
GitHub: github.com/gitdagray
Twitter: twitter.com/yesdavidgray
LinkedIn: linkedin.com/in/davidagray
π Source Code: github.com/gitdagray/nestjs-course
π Playlist for this NestJS Series: youtube.com/playlist?list=PL0Zuz27SZ-6MexSAh5x1R3rU6Mg2zYBVr
Nest.js Providers Tutorial for Beginners - Series Part 3
(00:00) Intro
(00:05) Welcome
(00:26) Starter Code
(00:45) Quick Review & Lesson Goals
(02:22) What are NestJS Providers?
(03:19) Create the Service Class
(12:59) Dependency Injection & the Constructor
(16:04) Update the Controller
(20:29) Test the Endpoints
π Tutorial References:
π NestJS Official Site: nestjs.com
π Node.js Official Site: nodejs.org
Was this NestJS Providers tutorial for beginners helpful? If so, please share. Let me know your thoughts in the comments.
#nestjs #provider #tutorial










