Building a CRUD App using Node, Express, Mongodb and Mongoose. Source code : github.com/navinreddy20/NodeC... Support by becoming a Member : / @telusko
I appreciate your very down-to-earth teaching style. You use the methods that are required at the moment even if they may be wrong, as you will correct it later at the right time rather than writing code without any explanation. ❤
This is such a wonderful video for a person like me, who knows JS and MySQL DB but, has no clue regarding Nodejs and MongoDB. I seriously learned a lot from this video by watching and coding it side by side. It was pretty fun! Thank you so much!😁😃
Mr Naveen Sir. You are just awesome. The way you taught a subject is just incredible. Simple English easy to understand even lay man also. I saw lots of tutorials I believe personally no one can replace you. The way you teach I gave no words to express. I got a job in MNC bez of Na been Sir, watching Teluso videos regularly. I m requesting to have videos on UI also.
This is one of the best tutorials for nodeJs + express + MongoDB. I have seen so many videos of this topic but this video right here is the one. Thank you sir , really needed this!
quite frankly in short i could say i have tried a lot for crud operation as you know sir i was the one who was suggesting you about crud operation in your 1st video and trust me sir no other video had taught me much clear than you's again a bigggg bigggg thank you sir loved it...
Anyone out there getting "validation failed: name: Path `name` is required. " in PostMan? The solution is you need to change the request type from "Text" to "JSON (application/json)" in Postman . (Next to the "binary" checkbox) You can see at 42:32, it is "Text" and at 43:24 it is ""JSON (application/Json) . @Telusko, Man you need to tell this, I spent an hour to find this!
I have one unclear point. Why isn't it something like Alien.save(alien)? When we say alien.save(), how does node or express or mongoose know that the new alien should be saved into Alien schema?
Can someone explain something to me; Couldn’t I just use a JSON object, instead MONGO? Like if I wanted to create a simple CRUD application, could not essentially just use JSON?
Past 3 years I'm learning from your videos but still not yet subscribed. I'm really sorry for that. Now I'm also subscribed. Thanks for making me clear.
It's been probably 5 years since i started to learn java from you and eventually, cracked jobs in MNC's based on that learning, i was in UG 2nd year when I first saw you And now, our java guru is teaching us new technologies in the market, so we can grab even better jobs. Naveen sir ROX
37:49 when u use await there, doesn't the thread stop there until the find() method returns making the entire execution blocking? If that is the case, doesn't it go against the concept of non blocking in NodeJS? Please enlighten me
It does wait for find to return, and it sure is blocking. The concept of non blocking holds for the UI with which user interacts directly. API calls can wait.
@@ashutoshrahi6176 While the thread is waiting for it to return, all other operations have to wait because the only thread available is waiting for a function to return. "All the other threads have to wait" means even the other users of the application have to wait. Isn't it?
best thing about navin sir is that he is pretending as he also don't know how the code will work , this thing of him is so relateable that i started felling that i am building along. thanks sir :)
Thank you for this video, exactly what I was looking for, I deployed my own API 1 hour after this video. Could you please make a video on connecting to MongoDB Atlas, though there are hundreds of them your way of explaining is the best. If it is already there please suggest.
just click on connect on cluster in atlas. Then click on connect to app. You will get link. copy the link and paste it in your code in place of localhost url. It will work
Hi, I'm creating API as shown in your video. But I ran into an error when testing post request from pstman which says as below: Errorvalidationerror: name: path 'name' is required.. Please help me with this...
Hello Naveen sir, If don't have mogodb, But i register in mogodb atlas. So how can i work now. Please let me know. how can i set the path and how can i check whether the data's are there or not in mangodb.
I got an error while sending a post req to a URL what happened is the req body is printed as undefined later I got to know JSON parser is now not coming with express so what I did is I installed the body-parser npm module and then I created the jsonparser=body-parser.json() and in the router, I wrote ...... router.post('/',JSON parser, async(req,resp)=>{ ....... instead of ....router.post('/', async(req,resp)=>{ ...... this solved my parsing problem
hey, what about the error log which is showing on cmd like (deprecationWaring current server) how to remove this error brother. Help Please? I have Stucked here in another project. First time its run but when i restart or start after shutdown my computer than its occurs. Help Please?
Hi! Thanks for the great tutorial. I had to install a package to make the request body readable. It appears request body parser is no longer part of express. Thus, "npm i body-parser" will add the missing package to make it work. Cheers!
Any one of you facing issues with post request in postman, you might not have selected the format "JSON" after selecting the "raw" radio button.. So set the "Text" dropdown to "JSON" format
Update your visual studio code. You will get debug options after search in your left side tool bar. It will create launch.json there you specify the file name and run the launch.json it will debug your python and go code
you are a great Sir. very nice tutorial Who do you learn so many things in this little time? please give some tips to motivate us to learn new new technology hats off Sir
sir, in my case, error is showing like this "ErrorValidationError: name: Path `name` is required., tech: Path `tech` is required." , How to resolve this error sir.