For most of the user's like me questioning where does that collection name "people" came .let's have some explanation.(say thanks as I have done research for you).😁😁. In Mongoose, if you create a model without explicitly specifying a collection name, Mongoose will pluralize the name of the model to determine the collection name. In your case, since your model is named "Person", Mongoose will pluralize it to "people" and use that as the collection name by default. This is a common convention in MongoDB and Mongoose for naming collections. If you want to explicitly specify a different collection name, you can do so by passing the desired collection name as the third argument when creating the model using mongoose.model(). For example: "const Person = mongoose.model('Person', personSchema, 'my_custom_collection_name');"
@@akshayshrivastava6057 in the video when we start mongo server the terminal print saying the server is connected and when we stop server it will say disconnected but in my case it doesn't says it is disconnected what should I do although it says it's connected
hats off, I tried so many courses to learn back end this is the bestest and most easilyy understandable. I pray god gives u so much success and so many subscribers u really deserve it. I will be sitting for placement in august and this videos make me feel very hopeful. thank you
I'm not the person who comments on any of the videos, but the way you teach is just amazing. I am grateful that I found your channel when I started learning the backend. Thanks a lot, already subscribed to your channel.
Hey can you please help me out, While downloading mongoDB, a file named 'mongo.exe' has to be downloaded, which when i download it got downloaded with the name 'mongo' only. When I'm trying to connect mongoDB server with node.js server, it is not gteting connected. Is this issue came coz of not downloding 'mongo.exe' file properly ?
my server.js file is throwing errors and not getting connected to mongoDB @11:42. On terminal it shows server is listening on port 3000 and then throws an error and nodemon gets crashed.
This error typically occurs when you're using an outdated or incorrect option name. The correct option name is useUnifiedTopology, not useunifiedtoplogy.
prince bro the way you teach is fabulous and makes complex topics digestible... I am currently looking for job as a fresher but people wants only experienced others are not responding😢
Thank you very much Sir for making such lecture deep explaination along with notes and Error handling better than many paid courses hats of you Sir dil se Shhukriya 🤍
Jo aapne postman me person data likha tha / laga ke jisme name and other details likhi thi wo kaha pe bana ke rakha tha ??.uska koi folder ni dikha ?jaise idli sambhar wala data to banaya tha ek folder me par ye wala ni dikha kaha banaya?
Hi, what do you use for autocompleting what you are writing. for example: when you type "con" it automatically shows you "console.log(" and then you just press tab i think to complete it.
Sir i am facing this error address: ValidatorError: Path address is required. at validate (C:\Users\Tonay Sadhukhan\Desktop ew node js ode_modules\mongoose\lib\schemaType.js:1385:13) at SchemaType.doValidate (C:\Users\Tonay Sadhukhan\Desktop ew node js ode_modules\mongoose\lib\schemaType.js:1369:7) at C:\Users\Tonay Sadhukhan\Desktop ew node js ode_modules\mongoose\lib\document.js:3071:18 at process.processTicksAndRejections (node:internal/process/task_queues:77:11) this is showing
Every thing fine there , Cmd type there brew services start there----- is am gona put same command in windows give error .. confuse to understand But I have GUI Compass . Can Explain there a Bit Confusion there Thanks Sir (Hello World)
Dear sir, I am Zohair Faruqi from Karachi, Pakistan I would like to say that your course is very helpful for those whose beginners. Most of the students are overseas , kindly to give free link for your foreigner students , they need notes too , for follow your course. Because foreigners have not any payment method. Kindly understand most of the students problems. Thanks Zohair Faruqi
Bhaiya Love from Nepal❤ Your teaching style is awesome Bhaiya I have one doubt In GET method, menu Ka port 3001 mey hogaya but 3000 mey he menu +person Ka nahe hora hey why?
mongod on command prompt then open another command prompt without closing first one and type mongosh make sure u have installed mongosh separately and extracted it with the server folder in mongod folder and created a data folder separately in the localdisk C and inside data create subfolder db.Hope it will resolve your issue
const person = mongoose.model('Person', personSchema, "Persons"); third argument defines the model name, if you won't define then it pluralize the model name like (eg. Person, people)
@@HelloWorldbyprince resolved sir .. just letting you know that Ive started watching your linked list series as well ... there's no one else like you in teaching you know the exact pin point ki kaha hame dikkat ayegi and vo aane see pehle hi you clear it love you bhaiya thanks for this node ka series ..... will hopefully complete this till midnight love you bhaiya !!
Bhaiya plz plz ye bta dijie ki jo data mila hmlog ko mongoDB ke andar hotels folder ke andar usme , people naam ka collection khud hi kaise ban gya mere data ke liye, jabki hmlog people naam ka koi folder ya koi collection nhi banaye the 😢 Plz bhaiya bta dijie help ❤ From koderma jharkhand
5:40 (node:5056) [MONGODB DRIVER] Warning: useNewUrlParser is a deprecated option: useNewUrlParser has no effect since Node.js Driver version 4.0.0 and will be removed in the next major version (Use `node --trace-warnings ...` to show where the warning was created) (node:5056) [MONGODB DRIVER] Warning: useUnifiedTopology is a deprecated option: useUnifiedTopology has no effect since Node.js Driver version 4.0.0 and will be removed in the next major version No need to pass the parameter 👍
bro mere me keval "listening on port 3000" show ho rha jbki sara same kiya hu according to lecture but mera me db.js wla file ka listenrs jaise ki "Connected to MongoDB server"' y sb show nhi ho rha please help me ?????
For most of the user's like me questioning where does that collection name "people" came .let's have some explanation.(say thanks as I have done research for you).😁😁.
In Mongoose, if you create a model without explicitly specifying a collection name, Mongoose will pluralize the name of the model to determine the collection name. In your case, since your model is named "Person", Mongoose will pluralize it to "people" and use that as the collection name by default. This is a common convention in MongoDB and Mongoose for naming collections.
If you want to explicitly specify a different collection name, you can do so by passing the desired collection name as the third argument when creating the model using mongoose.model(). For example:
"const Person = mongoose.model('Person', personSchema, 'my_custom_collection_name');"
Bro can you plz. share notes
anyone help in my terminal it only shows connected to mongo server it doesnt shows disconnection although i stop the mongo server
@@messi69goat hi please share more info on it
@@akshayshrivastava6057 in the video when we start mongo server the terminal print saying the server is connected and when we stop server it will say disconnected but in my case it doesn't says it is disconnected what should I do although it says it's connected
Thanks bhai
guys plz keep liking the video....for his motivation
Thanks for your support
A perfect course for node.js and backend as well. Much more then a paid course. Please don't leave it incomplete 🥰😘
To bhi Tera sb sahi se run hora he ,cmd me kuch error nahi Ara he??
@@tricksforsolving2804 han bhai sab sahi run ho raha he
@@Kabir-777 sahi he fir
nodeman ka error aa rha hain mera toh
do you have notes
Not any RUclips channel note explain and tech this type node js. Thank you sir ❤❤
hats off, I tried so many courses to learn back end this is the bestest and most easilyy understandable. I pray god gives u so much success and so many subscribers u really deserve it. I will be sitting for placement in august and this videos make me feel very hopeful. thank you
one of the best playlist for node js . Thankyou so much bhaiya for this playlist .
I'm not the person who comments on any of the videos, but the way you teach is just amazing.
I am grateful that I found your channel when I started learning the backend.
Thanks a lot, already subscribed to your channel.
I am soo happy for such positive vibes
Keep learning and pls share as much as you can to support our channel
Hey can you please help me out,
While downloading mongoDB, a file named 'mongo.exe' has to be downloaded, which when i download it got downloaded with the name 'mongo' only.
When I'm trying to connect mongoDB server with node.js server, it is not gteting connected.
Is this issue came coz of not downloding 'mongo.exe' file properly ?
Top notch content. I wish you get a millions of subscribers this year🤞
Most underrated playlist on YT. Loving the series so far !! ❤❤
bohot sahi study krwate he bhaiya.....Thank u so much....
.
Maza aagya bhaiya pdhke aapse concepts clear hogye
Thank you for explaining Node.js so clearly🙏🙏
maja a gya bhaiya inta acha padhane ke liye dil se sukriya 🚀🚀🥰😘
Thanks a lot keep sharing my channel
homework krte hai bhaiya... these lectures are amazing
Wonderful Bhaiya !!👏🏻👏🏻👏🏻👏🏻👏🏻👏🏻The way you teach is awesome.
my server.js file is throwing errors and not getting connected to mongoDB @11:42. On terminal it shows server is listening on port 3000 and then throws an error and nodemon gets crashed.
whats ERROR
?
thik hua?
mera bhi yahi bta rha h same
This error typically occurs when you're using an outdated or incorrect option name. The correct option name is useUnifiedTopology, not useunifiedtoplogy.
prince bro the way you teach is fabulous and makes complex topics digestible... I am currently looking for job as a fresher but people wants only experienced others are not responding😢
One of the best node.js tutorial. Great explaination
Bro can you plz. share notes
Definitely better bootcamp than a so called Udemy Course
Thank you very much Sir for making such lecture deep explaination along with notes and Error handling better than many paid courses hats of you Sir dil se Shhukriya 🤍
Bass bhai share kardo jitna kar sakte ho
Jo aapne postman me person data likha tha / laga ke jisme name and other details likhi thi wo kaha pe bana ke rakha tha ??.uska koi folder ni dikha ?jaise idli sambhar wala data to banaya tha ek folder me par ye wala ni dikha kaha banaya?
best of best bhai ...Thanku so much.....
Truly Helpfull
So nice of you
At 12:42 is it command prompt?. My community server is not starting.
thanks bhaiya you deserve a million followers
Next level things❤ exaplained very well🎉
Thanks Bhaiya for the Amazing Course and hardwork you put in this course 😍
Literally speaking ,this course has boost my confindence
Hi, what do you use for autocompleting what you are writing. for example: when you type "con" it automatically shows you "console.log(" and then you just press tab i think to complete it.
Ek number bhai easy to learn and understand aapne bataya he 👍
Bro can you plz. share notes
You deserve more subscribers brother. Thanks for your service❤
well explain bhaiya,homework done...
litterally amazing!!!!!!
was waiting for this 👍🏻
Hope you enjoyed it!
MongoDB assigns a unique _id for each document.
Sir i am facing this error
address: ValidatorError: Path address is required.
at validate (C:\Users\Tonay Sadhukhan\Desktop
ew node js
ode_modules\mongoose\lib\schemaType.js:1385:13)
at SchemaType.doValidate (C:\Users\Tonay Sadhukhan\Desktop
ew node js
ode_modules\mongoose\lib\schemaType.js:1369:7)
at C:\Users\Tonay Sadhukhan\Desktop
ew node js
ode_modules\mongoose\lib\document.js:3071:18
at process.processTicksAndRejections (node:internal/process/task_queues:77:11) this is showing
sir can you please provide the notes
Payment kar do
Best bootcamp for beginners
all awsome , greate dear God bless you
Great lecture sir🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏
Thanks
Thank you for the course😇
Can i use .then() and .catch() to handle asynchronous functions . what should i prefer async await or .then().catch()
you should prefer async await beacuse of code readability and less code syntax
you can use both but modern mern developers use async/await as per industry standards.
Every thing fine there , Cmd type there brew services start there----- is am gona put same command in windows give error ..
confuse to understand But I have GUI Compass . Can Explain there a Bit Confusion there
Thanks Sir (Hello World)
Guys, Hats-off to this course. Can anyone help me with the notes link, it will be very helpful.
I am not able to get they way to access it.
Dear sir, I am Zohair Faruqi from Karachi, Pakistan I would like to say that your course is very helpful for those whose beginners.
Most of the students are overseas , kindly to give free link for your foreigner students , they need notes too , for follow your course.
Because foreigners have not any payment method. Kindly understand most of the students problems.
Thanks
Zohair Faruqi
Thanks bhai for world best node course
do you have notes ?
Wow when i am able to do the first entry in the db i am so happy
Bro can you plz. share notes
@@2719yash i dont have notes. i dont make 'em i do practical hands on and if i feel something is really important i comment it out in my code
thank you , this is very simple to undersatnd
Bhaiya crud wale chapter mai window mai command prompt par mongodb server start kaise kare problem ho rahi hai
Thanks so much for this amazing course
Bhai yeh mogodb mein hotel database kaise ban gaya, can anyone tell please, kya woh mongoURL ki wajah se bana
Wonderful Video sir🙏🙇♂✨💖
Can you tell the extensions you are using in VsCode
maza aagya bhaiya !! great lecture
best
explaination
ever
crazy playlist sir !!!!!
thank you vaiya for such a great bakcend bootcamp !!!! maja a gya
how to start mongo db service in windows? what are the cmd commands? 4:38
run mongod
Bhaiya Love from Nepal❤ Your teaching style is awesome
Bhaiya I have one doubt
In GET method, menu Ka port 3001 mey hogaya but 3000 mey he menu +person Ka nahe hora hey why?
bhaiya ajay bhaiya ke channel nhi mil rha kya hai name plz🙏🙏
successfully done 🙂
Hii Bhaiya ,
Database me people name ka collection kaise bana humne toh use code me kahi mention nahi kiya tha ...??
please reply
got the answer person plural is people 😊
Bhai sidha atlas ya compas se bhi to link leke database se connect kar sakte h na i am beginner isliye puch ra hu
Can anyone say me when data was saved , why was it getting saved in peoples database?
sir ye people collection to banaya table me nahi ye aytomatically kese create ho gaya samaj me nahi aya ye chij
Question:- Bhaiya What to do next after this course??
bhaiya I think in new verson of node useNewUrlParser is not necessary
Good explanation 👏 👍
jus got email null ( duliacte error again and again when I enter 2nd data)
sir for pratice notes problem can we get soln? if we hv doubt
Yes it has solutions as well
Keep It Up Good Work ❤
bhaiya async await to samajh me aagya
const savedPerson = await newPerson.save()
but ye .save() kya h isse apne aap save ho jata h kya ?
Haan ye mongodb ka khud ka function hai
thanks bro all clear love you
You are awesome bro....
Maza aagaya prince bhai
Thanks yaar
Please share this channel
Best video ❤
Thank you bhaiya... learned a lot
bhaiya baha pe humne as a Person model create kiya hai to people kaha se a gaya ye samjh nahi aya
sir schema mobile type number hona chaiyeh na,string likha hai
what command we will have to run to start server of mongodb in windows
mongod on command prompt then open another command prompt without closing first one and type mongosh make sure u have installed mongosh separately and extracted it with the server folder in mongod folder and created a data folder separately in the localdisk C and inside data create subfolder db.Hope it will resolve your issue
@@MuhammadFasih327 thanks bhai I will try this
Body parser->parsed data ko req.body me store karta hai
40:20 mehnat se code smjha tha
Sir server toh connect ho ja raha hai but database nahi ho raha node js se connect , db.on mai error aa raha hai ,,,,, plssssssss helpppp
Simplified explanation
Nice explanation
bhaiya aapka auto complete konsa extension hia
Maybe this Vs code extension: Tabnine: AI Autocomplete & Chat for Javascript, Python, Typescript, PHP, Go, Java & more
Bhaiya mongoose ko Nodejs server se connect karne pe error aa raha hai please help me
Your the best🌟🌟🌟🌟🌟
Really useful of me ❤
Error
Cannot POST /person
getting this error in postman
Keep going 💪❤
Thanks 🔥
Bhai jab humne Person name se model banaya hai to collection "people" name se kyn bana hai ????
const person = mongoose.model('Person', personSchema, "Persons");
third argument defines the model name, if you won't define then it pluralize the model name like (eg. Person, people)
Please create frontend(react.js) playlist it would be very helpful for us.
no update showing on postman app :(
what's the error ?
@@HelloWorldbyprince resolved sir .. just letting you know that Ive started watching your linked list series as well ... there's no one else like you in teaching you know the exact pin point ki kaha hame dikkat ayegi and vo aane see pehle hi you clear it love you bhaiya thanks for this node ka series ..... will hopefully complete this till midnight love you bhaiya !!
Bhaiya plz plz ye bta dijie ki jo data mila hmlog ko mongoDB ke andar hotels folder ke andar usme , people naam ka collection khud hi kaise ban gya mere data ke liye, jabki hmlog people naam ka koi folder ya koi collection nhi banaye the 😢
Plz bhaiya bta dijie help ❤
From koderma jharkhand
where can i get these notes
good same like 3L course
5:40 (node:5056) [MONGODB DRIVER] Warning: useNewUrlParser is a deprecated option: useNewUrlParser has no effect since Node.js Driver version 4.0.0 and will be removed in the next major version
(Use `node --trace-warnings ...` to show where the warning was created)
(node:5056) [MONGODB DRIVER] Warning: useUnifiedTopology is a deprecated option: useUnifiedTopology has no effect since Node.js Driver version 4.0.0 and will be removed in the next major version
No need to pass the parameter 👍
bro mere me keval "listening on port 3000" show ho rha jbki sara same kiya hu according to lecture but mera me db.js wla file ka listenrs jaise ki "Connected to MongoDB server"' y sb show nhi ho rha please help me ?????
@@sheshram3934 same here bro. Mera directly after some time disconnected aa raha hai ..
just remove the two lines
write just mongoose.connect(mongoURL)
@@sheshram3934 Mera b same ho raha h
@@sheshram3934slove kaise kiya
bhaiya ye apka document wala notes kahan se access karun ??
uske wazah se aage nhi badh pa ra hun..
any one please provide me >>>>.......
Notes Link: - topmate.io/helloworldbyprince/726605
Thank you bhaiya 💙🎉
run hi nahi ho pa rha h code
error while connecting to the database
sir please explain in details like you don't told us in previous lecture we have to install mongoshell and now 😢brew service not running
Bro i have told you that
You have to install mongodb completely then after you can proceed with further lecture
Try to google these things