Nestjs Full Course 2022 | Beginner Nestjs Tutorial
Вставка
- Опубліковано 11 лип 2024
- NestJS is a progressive Node.js framework for building efficient, reliable, and scalable server-side applications.
Nestjs full course will take you as a beginner to pro in nestjs
Nestjs tutorial is for everyone, if you know nestjs or doesn't know nest js
This nestjs course is for you
Source Code : github.com/bitfumes/nestjs-co...
Individual Video Content : bitfumes.com/courses/nodejs/n...
🌟 Course Contents 🌟
⏳ (00:00:00) Course Intro
⏳ (00:04:00) What is NestJs
⏳ (00:07:48) Nest new project
⏳ (00:14:15) Features of nestjs
⏳ (00:17:32) Explore directory structure
⏳ (00:28:00) Nest modules
⏳ (00:34:41) Nest controllers
⏳ (00:50:04) Custom controller
⏳ (00:57:59) Nest CLI
⏳ (01:04:19) Service provider
⏳ (01:17:30) Dependency Injection Explain
⏳ (01:21:40) Request Payload
⏳ (01:31:38) Pipe and Validation
⏳ (01:41:50) Connect to mysql
⏳ (01:54:14) Crud with typeORM
⏳ (02:00:12) Authentication
⏳ (02:11:54) Passport Authentication
⏳ (02:23:32) Login JWT token
⏳ (02:30:00) Protected Route
Social Media:-
/ sarthaksavvy
/ sarthaksavvy
Discord server
/ discord
🌟 Premium Courses 🌟
Check out 32 hours of Laravel Content at
bit.ly/indepthlaravel
🔥 DIGITAL OCEAN HOSTING Affiliate
Get $100 in credit for 60 days m.do.co/c/a3a47da9b9a8
🌟 Gadgets I use 🌟
Camera amzn.to/3mGikwL
Blue Yeti Mic amzn.to/3mA6YdI
Blue Yeti Mic Foam Cover amzn.to/2GkmV8w
Capture Card amzn.to/3ed3cnN
🌟 Support Me ( I am a full-time UA-cam) 🌟
Github github.com/sponsors/bitfumes
Patreon / bitfumes
UA-cam / @bitfumes
🌟 FOLLOW ME 🌟
Subscribe for New Releases!
Twitter - / bitfumes
Twitter - / sarthaksavvy
Facebook - / bitfumes
Instagram - / bitfumes
(ask me questions!)
-- QUESTIONS? --
Leave a comment below and I or someone else can help you.
For quick questions you may also want to ask me on Twitter, I respond almost immediately.
Email me support@bitfumes.com
Thanks for all your support - Навчання та стиль
"Indian teachers are truly incredible! Their expertise in technology is awe-inspiring, and they possess a unique talent for sharing knowledge without revealing any confidential information. I am deeply grateful for their kindness and generosity in educating everyone on platforms like UA-cam. Thank you for your invaluable contributions!" 😊
Thank you so much, bitfumes. This course is amazing. You are a great teacher!
Keep the good work! As a beginner in the web development field I've found this video quite instructive, simple and well explained. Thanks for taking the time and patience.
Thank you , This the best nest js tutorial yet
Amazing, finally learned Nest Js. Perfect and Thanks
Thanks a lot, I searching for this topic a long time!!!
Great tutorial easy to understand found this most clear among other tutorials on yt
Thanks a lot, this is my entry point to start learning nest
Man I want to solute you for so easy on explaining every concept ...
very clear explanations, thank you
Thank you so much for the video.. I had never done nest js before but this video is good and I recommend it
It would be great if we have a deployment section on this Tutorial :)
Deployment is not part of next js is devops
Nice point to point explanation, i cleared some new concepts of nestjs, Thanks sarthak😄
Thanks for teaching me how to read documentation and fundamental of nestjs now i got job as junior developer.Thank you Bitfumes.
thank you for this amazing course
Total Solution! Awesome video.
Glad you think so!
You're so patient! you showed everything I wanted to know as a beginner of nestjs! Thank you very much! This is great!
Thanks for watching, please subscribe and like this video
@@Bitfumes already subscribed.
Thanks for this course
Thank you so much, I have understood nest js fundamentals. It is going to help me in my next project. ❤
thanks bro, you are awesome
if you like this, consider subscribing to bitfumes newsletter too bitfumes.com/newsletter
Wow , Thank you, I learn a lot from your channel🔥
Happy to hear that!
assistindo aqui do Brasil, parabpens pelo trabalho.
Thanks for your amazing work
Thank you my friend, you are a very good teacher!
I agree 100%
this is an amazing and thorough tutorial. great worth every 2.5 hours
Thanks for your love and support, keep learning. Join bitfumes telegram group t.me/bitfumes
Thankyou for creative course
Great explanation!
Awesome! Thanks
Always explaining concepts so good. Thanks @Sarthak
Perfect on point video !
Glad you think so!
very informative, thanks😍
Very easy to understand. Thanks.
Thanks for your love and support, keep learning. Join bitfumes telegram group t.me/bitfumes
Thanks for this great and informative video...
Thank you!
hardwork sir 💪💪
thanks, downloaded, all works!
Enjoy
Thanks for watching, please subscribe and like this video
Excelent video, the best
awesome explanation ever👌👌👌
great video!
very helpful. thanks for sharing
Glad it was helpful!
very interactive tutorial!!
nice video, well explained
great tutorial with documentation
thank you , it was great
You are welcome!
Hi bitfumes, thanks for the awesome tutorial
It really made me understand nestjs
Please you can also post a tutorial on authorization for admin and normal users
Thanks a lot
This cause is too good to be free. Honestly speaking, I have watched some causes on UA-cam and after 30 minutes of 2 hrs course, I start searching for another one. But I went through your course in one sitting and now I am on 02:10 hrs and hoping there would be a continuation. I just love your sense of humor, the passion you have for nestjs, and your energy you put in this course. Thank you very much. I just can not thank you enough for this course.
Thank you sooo much brother
Really this is the earning from youtube I get, the comments like this gives me energy to create more quality content
@@Bitfumes I was trying to extend your course by creating a product functionality but ran into this issue of typORM 0.3+ version where EntityRepository decorator is deprecated and I just can't find a way around it.
@EntityRepository(Product)
export class ProductRepository extends Repository {}
Nest can't resolve dependencies of the ProductService (?). Please make sure that the argument ProductRepository at index [0] is available in the ProductModule context.
Potential solutions:
- If ProductRepository is a provider, is it part of the current ProductModule?
- If ProductRepository is exported from a separate @Module, is that module imported within ProductModule?
@Module({
imports: [ /* the Module containing ProductRepository */ ]
})
amzing course sir
Thanks!
Waoo, thanks Bhargav for your support
Since you liked my content, I believe you will also like my new Hindi channel www.youtube.com/@code-jugaad
Give your love and support to this channel too and let me know what you want to learn from me in Hindi
Awesome 😍
Thank you! Cheers!
Please like this video and subscribe to bitfumes if you haven't
really good explanation😇
Your way of teaching is majestic. One day you will soon hit millions subscribers. Thank you for making such a great content with great explanation. Love from Pakistan
Waoo, your comment makes me happy
Thanks for all your support bro, keep learning
Bitfumes is the only place where you'll learn a Technology even if you're absolute beginner. Highly Recommended!!!
2:29:00 Why "@Request() req:any" instead of "@Req() req: Request" in login function (import {Request} from 'express')? Very good course for beginners! Thank you!
Great video
good job 👏
Awesome content! You've earned a sub today bhai...
Thanks and welcome
Please share with your friends
@@Bitfumes sure will do! Also if there’s any reference/video link where Mongodb is used instead of sql based db, that would be really helpful.
Really nice
I really love your videos. Would you make a video on Bun (JS Runtime)
Thanks for easy explanation
You are welcome
Thanks for watching, please subscribe and like this video
Already subscribed
Great content
thanks Tejas :)
Thanks for watching, please subscribe and like this video
Wow that`s so good. I`m so boring with other lecture but this one clear all the boring i had before
glad that you liked it
@@Bitfumes The only problem I get is (secretOrPrivateKey must have a value) I try to resolve the error but I could not. Please any help
I love this❤️ please make videos on nextJs
Yes sure, I will do that
Thanks for watching, please subscribe and like this video
Hi, this course is awesome. It is having everything to start CRUD and user authentication. BTW, what is the extension you are using for auto suggestion in vscode?
thank you sir
Thank you for this nice tutorial, What is the proper way to create separate repository (file)? Where we could write custom functions.
Thank you very much
You are welcome
Nice explain
i love you man
Good job
Helpful
what if you utilize bcrypt to hash the pass word.. how can passport validation be used?
please make video about custom validation and interceptor, Sir
hi Bitfumes, your explain very good, this video is very help full for me, could you plz make a vedio on full API mean while making API we are using mapper becouse we are using multiple functions in a single api that time how we can handle the response
Great
finally...
i have created a basic nestjs application followed by your this video.
thanks for this video. 💌
Fantastic teacher. Love you sartik bhaye. Any plans for Appolo prisma or graphql. it would be fantastic. There are no tutorials on this topic which covers it
Django Restful Framework, Tailwind CSS and Next.JS
Awesome ! What is your extension that show you 'Cannot found module' please ?😃
error lens extension on vscode
super
Nice
While following this tutorial, make sure to comment the routes defined earlier in the root controller or they can cause conflict with the user routes without giving an error.
Summary
00:00:01 - Course Introduction
📘 The video introduces the comprehensive tutorial on NestJS, covering basics, MySQL connection, authentication with Passport and JWT, and hands-on project creation.
00:02:42 - Introduction to NestJS
🚀 Explanation of NestJS as a progressive Node.js framework for building efficient, scalable server-side applications with full TypeScript support.
00:08:49 - Project Setup with Nest CLI
🛠 Demonstrates creating a new NestJS project using Nest CLI, organizing the directory structure, and initializing the project.
00:12:13 - Features of NestJS
🔧 Explores NestJS features like TypeScript, CLI productivity, module integration (GraphQL, WebSockets), and unit testing.
00:19:43 - Core Components: Modules, Controllers, and Providers
📂 Detailed explanation of creating and using modules, controllers, and providers in a NestJS application for effective organization and management.
00:33:04 - Dependency Injection
💾 Discusses the importance of dependency injection in NestJS, simplifying dependency management and enhancing scalability and maintainability.
00:57:06 - Unit Testing with Jest
🧪 Introduces unit testing in NestJS using Jest framework, demonstrating how to write and run tests for controllers and services.
01:01:36 - Connecting to MySQL with TypeORM
📊 Guides on setting up MySQL database, creating entities, and using TypeORM for performing CRUD operations.
01:47:01 - Authentication with Passport and JWT
🔒 Covers setting up authentication routes, handling login, and securing routes using JWT tokens, ensuring secure access control.
02:05:57 - Wrapping Up
🎓 Summary of the course content, emphasizing the importance of the discussed topics, and encouraging viewers to practice and implement NestJS in their projects.
Thanks for the breakup
hi, i am following your tutorial on Nestjs framework.
at @2:22:49 you have implemented passport authentication strategy 'local' but i am facing issue at this point. can you help me please.
console error below:
Error: Unknown authentication strategy "local".
rest of the tutorial is fantastic and specially not boring (dull).
thanks in advance.
Please we need the continuetion of the lecture
Too good
Thanks for your comment bro, keep learning
Any suggestion from your side for next course ??
@@Bitfumes could you please teach testing in Nest JS? Unit testing, specifically. Can't find good vids online for the same...
how to run migrations? i could not figure it out. works only with autoloading entities
after get token from login api , profile module work properly as you mentioned in tut , I want access of users/profile, method that i made inside UserModule but I can't get , I'm facing an issue of where clause error nan etc. ? how can I do that ?
Can you tell me what extension you are using?
I was watching freecodecamp's nest js video and accidentally clicked on next button, and stayed untill the end.
Waoo thats really a big compliment, thanks thanks a lot
Great course! Can we connect this as the back end of the Angular Books app? Would you do it please? Thank you!
Not exactly with Book app of angular course
But I will create angular + nestjs course for sure
@@Bitfumes I am really excited for this. Thank you!
how can we do roles and permission using nestjs
I don't know why but its hard for me to wrap my head around modules. Can someone provide me resource to understand.
Hands down, tNice tutorials is THE best beginner
Not sure if anyone having this issue where mysql workbench erases name and email except the id's from the user table after vs code restart. Basically, when I run a GET request for all users, I get all users object with uniq id's but name and email returns as an empty string.
This issue is fixed. It was caused by "synchronize: true" that was set in app.module.ts Setting that property to false "synchronize: false" retains my record in db.
How come. you never had to do CREATE TABLE with your schema? Does typeORM handle schema migration as well?
if sync true, then it will automatic created. so dont set to true if you are on production.
I don't understand validation pipes and payload thing. although Its great 😄
Can you make complete course nest js with typeorm with postgresql?
Will try that too, but it is not that difficult just use postgresql instead of mysql
Does this allow serverside rendering?
What font are you using in VS Code?
fira code
Hi Sarthak Is it possibie to add RuPay Debit card type, to join.
Hey I don't know what youtube support
Hi as a long follower of your channel, Thank you for all your hard work. Question: Laravel or NestJs for backend ?
nest
The one you know better
No framework is good or bad, it is like what language you have master
@@Bitfumes no doubt about that! I am used to laravel (queues, crons jobs, echo) can we get all of that on nest! That was my point of view!
@@flogginga_dead_horse4022 n your experience whats the advantages? that what I am trying to get! Example I prefer Angular over reactjs, to mess less with "external" packages/components,
@@AmaroAmaral it uses typescript so the language is very similar to writing angular on the front end. Then you aren't writing php for one part and typescript for the other. Also Laravel is one of the slowest frameworks. Some will say this isn't important but why start with something slow when you can have something faster. There are other things but it's late here lol