You are the best explainer on TH-cam sir. I didn't find this kind of information related to production practices anywhere on TH-cam or on paid courses as well. At last congratulations for 1 lAkhs subscribers.
This is not a connection of professtional mongoDB .....this is connection of heart to heart and brain to brain. you are best teacher whom i meet on youtube.
24:00: DB is another continent, hence use promises or try-catch with async-await whenever you are connecting to any database, thanks Hitesh Sir for teaching with this much clarity! 1. Assignments : - Read about process and exit() method in nodejs - Console log karke dekho joh object DB connect hone par return hota hai. 2. Tips: - Read the errors before referring to any material for resolving. - write error statements in a clear manner, debuggging mei help karegi. - env file mei change karte hi, server ko restart karna hi padega, no other option, nodemon env files ka track nahi rakhta.
Two important points about database connectivity: 1. When connecting to databases, handling potential data-not-found scenarios is essential. Employ try/catch blocks or promises to manage errors or we can also use promises. key to remember : ( wrap in try-catch ) 2. Database operations involve latency, and traditional synchronous code can lead to blocking, where the program waits for the database query to complete before moving on. So, we should async/await which allows for non-blocking execution, enabling the program to continue with other tasks while waiting for the database response. key to remember : ( always remember the database is in another continent, so use async await)
Hye soniya , just now I have saw your linkdin profile. Could you learned your backend from this series? Because now I am learning by backend from this series.
# Connecting database in MERN with debugging - Created MongoDb Atlas account. - Created a Database and connect I.P Address to access database from anywhere. - Used `dotenv , mongoose , express` packages. - Two important points about database connectivity: 1. When connecting to databases, handling potential data-not-found scenarios is essential. Employ try/catch blocks or promises to manage errors or we can also use promises. - key to remember : ( wrap in try-catch ) 2. Database operations involve latency, and traditional synchronous code can lead to blocking, where the program waits for the database query to complete before moving on. So, we should async/await which allows for non-blocking execution, enabling the program to continue with other tasks while waiting for the database response. - key to remember : ( always remember the database is in another continent, so use async await) - Used two approach to connect the database - 1. In Index File, 2. In Seprate DB file - Assignments - - console log `connectionInstance` - Read more about process.exit code
Hello ayush , actually I am facing issue while connecting to database . I followed all the steps along with the sir but i am getting an error saying "MONGODB connection error MongooseServerSelectionError: Could not connect to any servers in your MongoDB Atlas cluster. One common reason is that you're trying to access the database from an IP that isn't whitelisted" . I literally tried everything possible but still not able to resolve it . Please help me resolve this issue
@@riya2448 Now your error get resolve ?? : if not kindly tell me , Where you are facing this issue , is that after running (console.log(connectionInstance)) or while doing Setup of MongoDB, Kindly breakdown the problem .
@@SKD14344AK nope the same error message is popping again and again. The error is coming after running npm run dev. I have added the Ip address but it is not able to connect
We cannot just use the phrase THANK YOU for the kind of content you are giving. Worked for almost 2 years in a mnc then also I think I could not learn so much which you have taught through your videos.
The way you explain things is on whole different level ❤ It's been 3 days i started this series and got soo much clarity in almost everything you taught. Thank you so much sir!❤🙏
Hats off to you!! I set a password with special characters and it was throwing errors when connecting to MongoDB, then I remembered that you told not to use special characters. Upon changing the password, the error got solved. I whole heartedly appreciate your efforts in providing such high quality content and in-depth content.
Hats off to you Sir, You are reallly helping. Every video of yours is great. I haven't watched all of them but I am following your backend tutorials, tbh from last 4 hrs, practicing accordingly. The way you are teaching and telling every single thing what a student can think of ( kam se km mein ), every chota se chota doubt which I always faced earlier, is getting clearer. Now I know what I am writing.
congratulations on 100k ...soon you will complete your next milestone 500k and then 1million and so on...your teaching style is very unique and different...i am 100% sure that on youtube no one give this level of knowledge....we are very lucky that we are in the ERA of Hitesh sir💯
Sirrrrr, bht pyari video hai. Abi tk bht baar connect kia hai db single line code likh ke. lekin jo aapne ye bde ache se smjaya hai 🙌. " DB is always is another continent " kbi ni bhule ga SIr. ❤
Since Node v20.6.0, node is supporting env file without any 3rd party library (dotenv). You have to just add --env-file in your script tag in package.json. So, your script tag will look like: "scripts": { "start": "node --env-file=.env src/index.js", "dev": "nodemon --env-file=.env src/index.js" }
bro thank you so much, yr 2 din ho gye the erro resolve nhi hua, aaj mei ye playlist leave krne wala tha sirf is error ki waja se, thanks yr, aapne ye solution kahan se nikala, khud kra he ya source se? and again thanks for ur comment bro ♥
Bro really appriciate your help....Its a real problem that I am facing from a long time...What I am doing is: cd src, then node --env-file=.env index.js, which is giving error. Just adding the src/index.js and running it from the root directory solves it. Really funny, but thanks bro.
sir no words for you teaching. the way you explained first IIFI , then async then try/catch .. just wow. maza agaya sir. The best backend series i have watched so far.. ☕☕♥
00:05 Learning how to connect a database in MERN 01:58 Connect database in MERN with debugging 06:22 To connect to the MongoDB database in the MERN stack with debugging, you need to allow IP address access, have the correct ID password, and the URL. 08:20 Connect database in MERN with debugging 12:08 Two approaches to connect database in MERN 14:24 Mongoose is used to connect to the database 18:14 Connect database in MERN with debugging 19:59 Connecting the database in MERN with proper error handling 23:21 Connect database in MERN with debugging 25:01 Handle connection errors and exit the process if needed. 28:27 Connecting database in MERN 30:34 Set up environment variables in the index file for consistent code 34:09 Troubleshooting database import issues in the MERN stack 35:49 Successfully connected the database 39:07 Learned how to connect database in MERN 40:54 Connecting a database in MERN with debugging
The way you explain is just another level sir, i watched this video 2times. Now my concepts about database is so clear. So much knowledge in these videos. Thank you sir ❤👌
best part is - "Error ko read krna sbse important hai "(timestamp : 35:20) sir ke hrr video me 1 na 1 line to jarur hi milegi jo coding to assan(easy) bnayegi 🙏 ❤
thanku so much for this backend we also want a full mernstack ...we can learn frontend and backend but we want a proper guideline through you in which you actually teach us the approach so that we can make projects by our own
One imporatant thnk to take away from this video is - Read the error, it is important to read the error, inspite of doing just chatGpt or stack-overflow. Very motivational for be the engineer. one important is just install the mongodb extension in vs code, and while connection in mongodb check for vs code connection option, and ready to boom the mongodb.
Bhaiya jitna thanku bolu utna kam pdega aapke liye, pata nhi aap itna efforts humare liye kyu laga rhe ho but please kabhi piche mat hatna ,hume aap jaise logo ki bohot jrurat hai ,jjisme koi ghamand aur lalach naa ho , mai try karunga ki mai bhhi aage jaake aapke jaisa banu , logo me knowledge baatu and batau ki maine hitesh bhaiya se sikha hai ye
Idk what is people's problem that thay cant even like this helpful video i really want you to grow even more ❤❤ i cant even watch 5min of video of other youtubers on backend they make me sleep while here i watch hours of bideos and dont even realize just love you and your way of teaching 💗😊😊
sir watching your video after watching the basic video of piyush garg bhaiya and your video is like the cherry on the top his video has perfect for basics and you video takes that basics in advance
Sir thanks a lot . Itna in depth content to udemy py bhi nai milta sir thanks for your hard work for us yeh cheezain hmain compnay main seekhtay seekhtay 3 sy 4 months lag jaty but apki yeh series too best hain ab aik beginner level ka developer bhi Well structured and fully optimized web app bnany k qabil hoo jaye ga yeh series dekh k..... Again a Large Bundle of thanks for your efforts
This level of deep knowledge you got from doing work for so many years and now you giving it to community for free of cost to do this type of efforts are not that easy it is difficult for you also but although you are giving too much to the community and as you said in the podcast with Ranveer you will definitely bring new revolution in the tech community I believe in you sir keep going whole community is with you. Thank you too give this production grade level knowledge that no one talk in current market. You are great lots of love from Mehsana, Gujarat❤🙌☺.
part time me reels nahi comment scroll karne ka sokh hai 🤣🤣 to beshak hame bhi aise parttime work dene me maja ata hai karte rahiye comment ko scroll , and thanks for this valuable content , ab kya hi bole jata jate amzing bol deta hu ❤❤
sir jiiii apse padhne ke baad tho experience job role pe bi apply kia jaa skta . soo deep content of such highlevel knowledge just free ! op hitesh sir
Recognizing Hitesh Sir's role in #chaiaurcode #backenddevelopment is commendable. Being grateful to teachers like him who shape our learning journeys is valuable
It's wonderful that you recognize and appreciate Hitesh Sir's contributions to #chaiaurcode #backenddevelopment. Expressing gratitude to those who have positively impacted our lives is always a meaningful gesture.
You might find my comment funny but I didn't understand anything in this video yet I watched it till the end.😅 I'm going to start a new role as an associate functional consultant and I thought this would be something related to SQL and it's backend communication so I started watching it..😅
as described in video for setup of dotenv config is not working in node 20+ versions so, --> we can simply include - import {} from 'dotenv/config' at the top of the src/index.js file and by this we can avoid the require experimental module configuration inside the package manager. This works because of how ES6 modules imports modules. Before doing anything else in a file (say index.js) it does all the imports first. It does a depth first traversal of these imports, executing any code inside it. If we import dotenv first, it will execute config and add any env variables before doing anything else in the code.
Finished this lecture on the last day of '23 and I can happily say that ki mera MongoDB ka darr almost khatam ho gaya..! Really grateful for this series...🤍 Thank You so much Hitesh Sir and a very Happy New Year...💫
Itna acha detail me to aap hi padhate ho, dusre YT channel wale to Mongooes padhna shuru hi mongooes.connect se karte hai......Hats off and much appreciate your effort.
01:58 Connect database in MERN with debugging 06:22 To connect to the MongoDB database in the MERN stack with debugging, you need to allow IP address access, have the correct ID password, and the URL. 08:20 Connect database in MERN with debugging 12:08 Two approaches to connect database in MERN 14:24 Mongoose is used to connect to the database 18:14 Connect database in MERN with debugging 19:59 Connecting the database in MERN with proper error handling 23:21 Connect database in MERN with debugging 25:01 Handle connection errors and exit the process if needed. 28:27 Connecting database in MERN 30:34 Set up environment variables in the index file for consistent code 34:09 Troubleshooting database import issues in the MERN stack 35:49 Successfully connected the database 39:07 Learned how to connect database in MERN 40:54 Connecting a database in MERN with debugging
Thank you so much sir for this amazing playlist, I was feared of mongodb connection but you made modeling easy now also you made connection very easy, I can connect anytime now in this way, Thank you so much! Hope one day I could be a great developer like you
In the garden of education, you are the rare and precious bloom that makes it a place of beauty and growth. Thank you for cultivating a love for learning in all of us🥰
hitesh.ai/whatsapp
Join here for all updates
Congratulations sir for 100k
Sarkar ab tohh 100k ho gya
Ab Mac dilva do laptop kharab ho gya hai Mera
Video b nahi dekh pa Raha hu😢😢😢
You are the best explainer on TH-cam sir. I didn't find this kind of information related to production practices anywhere on TH-cam or on paid courses as well.
At last congratulations for 1 lAkhs subscribers.
Chai aur Code #ChaiaurCode @chaiaurcode
thanks bhai for teaching backend love from pakistan
This is not a connection of professtional mongoDB .....this is connection of heart to heart and brain to brain. you are best teacher whom i meet on youtube.
24:00: DB is another continent, hence use promises or try-catch with async-await whenever you are connecting to any database, thanks Hitesh Sir for teaching with this much clarity!
1. Assignments :
- Read about process and exit() method in nodejs
- Console log karke dekho joh object DB connect hone par return hota hai.
2. Tips:
- Read the errors before referring to any material for resolving.
- write error statements in a clear manner, debuggging mei help karegi.
- env file mei change karte hi, server ko restart karna hi padega, no other option, nodemon env files ka track nahi rakhta.
Two important points about database connectivity:
1. When connecting to databases, handling potential data-not-found scenarios is essential. Employ try/catch blocks or promises to manage errors or we can also use promises.
key to remember : ( wrap in try-catch )
2. Database operations involve latency, and traditional synchronous code can lead to blocking, where the program waits for the database query to complete before moving on. So, we should async/await which allows for non-blocking execution, enabling the program to continue with other tasks while waiting for the database response.
key to remember : ( always remember the database is in another continent, so use async await)
Thank u for inform that 🤗
Hye soniya , just now I have saw your linkdin profile. Could you learned your backend from this series? Because now I am learning by backend from this series.
@@Suryakant0708 mujhe nhi samjha... ki sir ko phir se video record kyo karna pada... pichle wale mei kya issue aaya tha
Error A Raha MEra (bad option: --exprimental-json-modules)
package.json mei -r dotenv/config YAha tk likho
# Connecting database in MERN with debugging
- Created MongoDb Atlas account.
- Created a Database and connect I.P Address to access database from anywhere.
- Used `dotenv , mongoose , express` packages.
- Two important points about database connectivity:
1. When connecting to databases, handling potential data-not-found scenarios is essential. Employ try/catch blocks or promises to manage errors or we can also use promises.
- key to remember : ( wrap in try-catch )
2. Database operations involve latency, and traditional synchronous code can lead to blocking, where the program waits for the database query to complete before moving on. So, we should async/await which allows for non-blocking execution, enabling the program to continue with other tasks while waiting for the database response.
- key to remember : ( always remember the database is in another continent, so use async await)
- Used two approach to connect the database - 1. In Index File, 2. In Seprate DB file
- Assignments -
- console log `connectionInstance`
- Read more about process.exit code
Thanks looking for this only
Hello ayush , actually I am facing issue while connecting to database . I followed all the steps along with the sir but i am getting an error saying "MONGODB connection error MongooseServerSelectionError: Could not connect to any servers in your MongoDB Atlas cluster. One common reason is that you're trying to access the database from an IP that isn't whitelisted" . I literally tried everything possible but still not able to resolve it . Please help me resolve this issue
@@riya2448 you have to global assign ip address 0.0.0.0/0 to you mongodb cluster.
@@riya2448 Now your error get resolve ?? : if not kindly tell me , Where you are facing this issue , is that after running (console.log(connectionInstance)) or while doing Setup of MongoDB, Kindly breakdown the problem .
@@SKD14344AK nope the same error message is popping again and again. The error is coming after running npm run dev. I have added the Ip address but it is not able to connect
Agr koi itna indepth ja kr production level prha sakta hai to wo ap hi ho Sir. Huge respect and love from Pakistan
love from Lahore
Bhai Pakistan me bhi study hoti hai
@@VikasKumar-bf5wu Q bhai india me jahil rehty hai kia ?
he is the only teacher jis ka course agar main chalu krta hu toh hamesha pura khatam bhi krta hu! ty sir!!!
Bs aise hi dedicated students chahiye ☕️
@@chaiaurcode ji sirr chai aur aap (perfect combo)😂
@@broke_codez mujhe nhi samjha... ki sir ko phir se video record kyo karna pada... pichle wale mei kya issue aaya tha
@@LearnerAbhi21
Hy everyone, i tell you sir recorded half video in english and half in hindi so its reason for re recorded video
Sir Error A Raha MEra (bad option: --exprimental-json-modules)@@chaiaurcode
I have never seen this type of Data base connection Lecture ever. This is GOD Level. This was a great help. Thanks sir.
We cannot just use the phrase THANK YOU for the kind of content you are giving.
Worked for almost 2 years in a mnc then also I think I could not learn so much which you have taught through your videos.
The way you explain things is on whole different level ❤
It's been 3 days i started this series and got soo much clarity in almost everything you taught.
Thank you so much sir!❤🙏
Hats off to you!! I set a password with special characters and it was throwing errors when connecting to MongoDB, then I remembered that you told not to use special characters. Upon changing the password, the error got solved. I whole heartedly appreciate your efforts in providing such high quality content and in-depth content.
"aanand hi aajata hai jab sab samajh aajata hai" 🙏 Thank you sir .
Hats off to you Sir, You are reallly helping. Every video of yours is great. I haven't watched all of them but I am following your backend tutorials, tbh from last 4 hrs, practicing accordingly. The way you are teaching and telling every single thing what a student can think of ( kam se km mein ), every chota se chota doubt which I always faced earlier, is getting clearer. Now I know what I am writing.
connectionInstance is an object with 53 properties which are
'connections object',
'nextConnectionId number',
'models object',
'events object',
'__driver object',
'options object',
'_pluralize function',
'Schema function',
'model function',
'plugins object',
'default object',
'mongoose object',
'cast function',
'STATES object',
'setDriver function',
'set function',
'get function',
'createConnection function',
'connect function',
'disconnect function',
'startSession function',
'pluralize function',
'deleteModel function',
'modelNames function',
'plugin function',
'version string',
'Mongoose function',
'SchemaType function',
'SchemaTypes object',
'VirtualType function',
'Types object',
'Query function',
'Model function',
'Document function',
'ObjectId function',
'isValidObjectId function',
'isObjectIdOrHexString function',
'syncIndexes function',
'Decimal128 function',
'Mixed function',
'Date function',
'Number function',
'Error function',
'MongooseError function',
'now function',
'CastError function',
'SchemaTypeOptions function',
'mongo object',
'mquery function',
'sanitizeFilter function',
'trusted function',
'skipMiddlewareFunction function',
'overwriteMiddlewareResult function'
yehi dhudne aaya tha milggya thanku
thnx
ha toh woh connectionInstance.connections.host nahi hoga?
Isme connectionInstance ke liye phir connections.host kaha he phir...kon se object me he
Sir you're a gem of teacher, I request you to please complete this series. We will make sure to compete all your targets of likes and comments.
after waisting 1 hour and watching several i found this video and this video help me to connect my db in 7 min what a helpful video
congratulations on 100k ...soon you will complete your next milestone 500k and then 1million and so on...your teaching style is very unique and different...i am 100% sure that on youtube no one give this level of knowledge....we are very lucky that we are in the ERA of Hitesh sir💯
Sirrrrr, bht pyari video hai. Abi tk bht baar connect kia hai db single line code likh ke. lekin jo aapne ye bde ache se smjaya hai 🙌. " DB is always is another continent " kbi ni bhule ga SIr. ❤
Concepts in Hindi is so easy to absorb. It just feels like a story
Since Node v20.6.0, node is supporting env file without any 3rd party library (dotenv). You have to just add --env-file in your script tag in package.json. So, your script tag will look like:
"scripts": {
"start": "node --env-file=.env src/index.js",
"dev": "nodemon --env-file=.env src/index.js"
}
thanks
Thanks bro . Much appreciated
thanks for the info !
bro thank you so much, yr 2 din ho gye the erro resolve nhi hua, aaj mei ye playlist leave krne wala tha sirf is error ki waja se, thanks yr, aapne ye solution kahan se nikala, khud kra he ya source se? and again thanks for ur comment bro ♥
Bro really appriciate your help....Its a real problem that I am facing from a long time...What I am doing is: cd src, then node --env-file=.env index.js, which is giving error. Just adding the src/index.js and running it from the root directory solves it. Really funny, but thanks bro.
sir no words for you teaching. the way you explained first IIFI , then async then try/catch .. just wow. maza agaya sir.
The best backend series i have watched so far.. ☕☕♥
Congratulations for 100K ❤
40min without any distraction...pata nhi chalta 40min kaise katam hogye
Thank u hitesh sir
00:05 Learning how to connect a database in MERN
01:58 Connect database in MERN with debugging
06:22 To connect to the MongoDB database in the MERN stack with debugging, you need to allow IP address access, have the correct ID password, and the URL.
08:20 Connect database in MERN with debugging
12:08 Two approaches to connect database in MERN
14:24 Mongoose is used to connect to the database
18:14 Connect database in MERN with debugging
19:59 Connecting the database in MERN with proper error handling
23:21 Connect database in MERN with debugging
25:01 Handle connection errors and exit the process if needed.
28:27 Connecting database in MERN
30:34 Set up environment variables in the index file for consistent code
34:09 Troubleshooting database import issues in the MERN stack
35:49 Successfully connected the database
39:07 Learned how to connect database in MERN
40:54 Connecting a database in MERN with debugging
Aapki comment hitesh sir ne LinkedIn pr share kiya
Ye 6 lakh likes mhuje hi dika rhe hai ya sabko dekh rhe hai 🧐🧐🧐🧐
only you
♥️
No it's only six thousand
The way you explain is just another level sir, i watched this video 2times. Now my concepts about database is so clear. So much knowledge in these videos.
Thank you sir ❤👌
He is the only teacher jis ka course agar main chalu krta hu toh hamesha pura khatam bhi krta hu! ty sir!😊
best part is - "Error ko read krna sbse important hai "(timestamp : 35:20)
sir ke hrr video me 1 na 1 line to jarur hi milegi jo coding to assan(easy) bnayegi 🙏
❤
Sir you are great....Despite the views count on your series you are still committed to teach with full enthusiasm...Kudos👏👏👏👏
thanku so much for this backend we also want a full mernstack ...we can learn frontend and backend but we want a proper guideline through you in which you actually teach us the approach so that we can make projects by our own
Thanks sir aapi video se confidence bahut jyada Aata Hai or aapki video ko digest karne mein time Bhi lag Jaate Hain
One imporatant thnk to take away from this video is -
Read the error, it is important to read the error, inspite of doing just chatGpt or stack-overflow.
Very motivational for be the engineer.
one important is just install the mongodb extension in vs code, and while connection in mongodb check for vs code connection option, and ready to boom the mongodb.
Bhaiya jitna thanku bolu utna kam pdega aapke liye, pata nhi aap itna efforts humare liye kyu laga rhe ho but please kabhi piche mat hatna ,hume aap jaise logo ki bohot jrurat hai ,jjisme koi ghamand aur lalach naa ho , mai try karunga ki mai bhhi aage jaake aapke jaisa banu , logo me knowledge baatu and batau ki maine hitesh bhaiya se sikha hai ye
This course offers top-notch content that even surpasses paid courses out there. thankyou sir for providing this for free to us .
tankyou sir,sai kah rhe ho aap 2lakhs ka course kiya but smjh yehi se arha h, waiting for your top notch course :)
🤗☕️
Nice Playlist .It is Difficult for me to understand your lecture😁😁 but i know it is beneficial for me .Thanks a lot
Idk what is people's problem that thay cant even like this helpful video i really want you to grow even more ❤❤ i cant even watch 5min of video of other youtubers on backend they make me sleep while here i watch hours of bideos and dont even realize just love you and your way of teaching 💗😊😊
sir watching your video after watching the basic video of piyush garg bhaiya and your video is like the cherry on the top his video has perfect for basics and you video takes that basics in advance
Sir thanks a lot . Itna in depth content to udemy py bhi nai milta sir
thanks for your hard work for us yeh cheezain hmain compnay main seekhtay seekhtay 3 sy 4 months lag jaty but apki yeh series too best hain ab aik beginner level ka developer bhi Well structured and fully optimized web app bnany k qabil hoo jaye ga yeh series dekh k.....
Again a Large Bundle of thanks for your efforts
love your dedication to re record the whole video to maintain the quality that we've come to know and love.
Sir, your way of teaching and knowledge is totally different from every teacher on TH-cam
This level of deep knowledge you got from doing work for so many years and now you giving it to community for free of cost to do this type of efforts are not that easy it is difficult for you also but although you are giving too much to the community and as you said in the podcast with Ranveer you will definitely bring new revolution in the tech community I believe in you sir keep going whole community is with you. Thank you too give this production grade level knowledge that no one talk in current market. You are great lots of love from Mehsana, Gujarat❤🙌☺.
Just another great explanation on this series 🤩
sir your dedicating toward delivering quality content is unmatchable.thanks a lot
the content 🦾 , the educator 🦾, kahin esa content nahi milega jesa yahan hen
This is the best Backend series on youtube!!
part time me reels nahi comment scroll karne ka sokh hai 🤣🤣 to beshak hame bhi aise parttime work dene me maja ata hai karte rahiye comment ko scroll ,
and thanks for this valuable content , ab kya hi bole jata jate amzing bol deta hu ❤❤
Best explanation of every topic. Thank you sir. And one more thing 'Database is always in another continent' ...
Amazing video. Explanation on how to handle error in DB connection was well explained. Thanks for the insights and sharing experience.
Best video for backend on youtube
You're the teacher who deserves millions of views and likes!♥️
Database is in another continent, but Hitesh sir is in our continent.
Thank you so much for this wonderful course ♥
La jawab series for backend development. Love you sir ji
Your teaching way is simple and advance. Hope You reach at your desire place
Radhe Radhe... Watching this lecture on 25 - 10 - 24.
We all are very lucky to learn from you Sir
sir jiiii apse padhne ke baad tho experience job role pe bi apply kia jaa skta . soo deep content of such highlevel knowledge just free ! op hitesh sir
Great tutorial, after starting this backend tutorial i don't like frontend any more. Keep up the good work.
thankyou so much sir for guiding us on this journey and making backend development so clear🙏🙌
It's always a pleasure learning from you sir. The way you teach is just pure talent. Love you sir. ❣❣
your Commitment towards Your Videos , just amazing
great content
Recognizing Hitesh Sir's role in #chaiaurcode #backenddevelopment is commendable. Being grateful to teachers like him who shape our learning journeys is valuable
It's wonderful that you recognize and appreciate Hitesh Sir's contributions to #chaiaurcode #backenddevelopment. Expressing gratitude to those who have positively impacted our lives is always a meaningful gesture.
just 2 words , BEST SERIES , SIR
The explanation was the best. It was now so easy for me to connect the db
You might find my comment funny but I didn't understand anything in this video yet I watched it till the end.😅 I'm going to start a new role as an associate functional consultant and I thought this would be something related to SQL and it's backend communication so I started watching it..😅
It's wonderful that you recognize and appreciate Hitesh Sir's contributions to #chaiaurcode #backenddevelopment.
Sir aapke experiences sun na or aapki harr ek topic ko in depth mein samzhana personally I love it👌
as described in video for setup of dotenv config is not working in node 20+ versions so, --> we can simply include - import {} from 'dotenv/config' at the top of the src/index.js file and by this we can avoid the require experimental module configuration inside the package manager.
This works because of how ES6 modules imports modules. Before doing anything else in a file (say index.js) it does all the imports first. It does a depth first traversal of these imports, executing any code inside it. If we import dotenv first, it will execute config and add any env variables before doing anything else in the code.
thanks man!
00:40 salute to you for making videos again for us 🙌🏻
Finished this lecture on the last day of '23 and I can happily say that ki mera MongoDB ka darr almost khatam ho gaya..!
Really grateful for this series...🤍
Thank You so much Hitesh Sir and a very Happy New Year...💫
Congrats fir for 151k✨
Itna acha detail me to aap hi padhate ho, dusre YT channel wale to Mongooes padhna shuru hi mongooes.connect se karte hai......Hats off and much appreciate your effort.
Thanks a ton 😊☕️
Most professional way of teaching, love and support hitesh sir for giving us free knowledge and technology experience
thanku bhai aapne double mehnt krne ke liya 😅😅💞💞
Bahut Acche Sir G Best of the Best
Day 4 of Learning Backend with Hitesh Sir... So far bohot mazzaa aaya....😁
full support sir, bas video banate rahiye
01:58 Connect database in MERN with debugging
06:22 To connect to the MongoDB database in the MERN stack with debugging, you need to allow IP address access, have the correct ID password, and the URL.
08:20 Connect database in MERN with debugging
12:08 Two approaches to connect database in MERN
14:24 Mongoose is used to connect to the database
18:14 Connect database in MERN with debugging
19:59 Connecting the database in MERN with proper error handling
23:21 Connect database in MERN with debugging
25:01 Handle connection errors and exit the process if needed.
28:27 Connecting database in MERN
30:34 Set up environment variables in the index file for consistent code
34:09 Troubleshooting database import issues in the MERN stack
35:49 Successfully connected the database
39:07 Learned how to connect database in MERN
40:54 Connecting a database in MERN with debugging
Best teacher on the internet.
Sir ji jub se aapko jaanta hu tub se best teacher ho aap ✨
Bahut acha video on database connection with added advantages, Sir ❤
Thanks for this Playlist. Best on TH-cam for Backend
Thank you so much sir for this amazing playlist, I was feared of mongodb connection but you made modeling easy now also you made connection very easy, I can connect anytime now in this way, Thank you so much! Hope one day I could be a great developer like you
In the garden of education, you are the rare and precious bloom that makes it a place of beauty and growth. Thank you for cultivating a love for learning in all of us🥰
congratulations bhaiya 100k to 150k ho gye 🎉🎉
Very grateful of your supports and how much learning you gave to us❤❤
Chai aur code is India's number one TH-cam channel ❤❤
Aap bhut mehnat karte hai sir. Thank you so so much
This free course is better than many premium courses
Greatest video series for backend ever
One of the best backend courses ever ❤
sure sir , full support from this side ...
Sir your teaching style is amazing
Database is present in another continent that's why it takes time 💯💯♥️♥️
Lots of support from Assam
you deserve a comment thank you sir for this awesome tuitorial
Getting ready to be a backend master
thank you so much for releasing this series
Learning From this series with 100% focus and dedication. completed at 9/March/2024 1:44pm