Bhai saab mja aa gya ........... guys sacch me sir ne confidence develop kra diya. Aur ye confidence merekko actual me samajh kr aaya 🔥🔥 respect button for chai aur code ✅
kal maine ek course complete kia chai or JavaScript jo ki RUclips pe free me uplabdh hai top level of content, in-depth knowledge, hitesh sir aap bhagwan ka dia hua gift ho hmare lie, or aaj maine chai or react js padhna suru kia hai, bahot bahot abhari hai ham aapke.. 🙏🙏🙏🙏bahot bahot sukria.....
I completed React part1 and i can say sir your way of teaching is uniqueeeeeeeee and no one teaches like you sir!! Itni dedication and cool composure, literally you're superb sirr!!
Your ability to explain complex concepts with clarity and enthusiasm has not only deepened my understanding of the material but has also ignited a genuine interest and curiosity within me. thanks sir
Literally, Itna axha Paid courses ma nai pharhya jata. wo direct APi banma choro kr detay. But ap na sir bht core steps sa choro kiya ha awesome. Bundle of Prayers sir From Pakistan.🖤
THANK YOU SIR!!!!! One tip from my side to all the fellow learners of this series: jitna bhi sir ne models sikhaya h pichle ek do videos se in sb ka notes jaroor banana bhot help krega. And aage k saare videos k important points note karna on physical notebook because i believe ki wo jyada impactful hota h and you actually think about while noting down the points. Jisko meri advice shi lagi wo apply karna, baaki log toh already intelligent h
It is a good practice to use the same name for the model in database and model constant and mongodb is intelligent enough to figure out how to make things plural without ruining the grammatical structure
in one lecture we don't get only what caption is elaborating but we get motivation and clear roadmap , how to do effective study nhi padhne ka mn h to bhi bhaiya ka koi bhi lecture chla ke baat sun skte bhut kch seekh skte h
It is important to recognize Hitesh Sir's role in #chaiaurcode and backend development. Teachers like him shape our learning journeys and we should be grateful for their guidance.
Mongoose schemas support a timestamps option. If you set timestamps: true, Mongoose will add two properties of type Date to your schema: 1. createdAt: a date representing when this document was created 2. updatedAt: a date representing when this document was last updated
A completely different and effective approach to start backend , you have build a quite different structure/Map of backend in our minds 💗quite helpful and understandable. THANKS HITESH SIR 😍
Esa kehtan han Dil sa pharhana. Bohot confidence aya. Ap ka bohot bohot sukriya. Muja Nodejs(mongoose) kuch hud tak atha be ha, magar tub be ap ka series follow kar raha hon k or be acha ho jae. Abhe tak ap sa acha RUclipsr nahi daka And ap ka Teaching method tho pocho math Next level ha. Love from Peshawar, Pakistan💚
Sir, tbh experiences is the thing that tend to make you stand out from others! The only issue is that the videos seem to end so quickly... Waiting for 24 hours can feel like a long time, and it's a bit surprising how a 45-minute video just disappears without us even noticing
In Mongoose, when we define a schema for a document, you can use the timestamps option to add two timestamp fields to your documents: createdAt and updatedAt. These fields store information about when a document was created and when it was last updated. example of timestamp attribute in code: const mongoose = require('mongoose'); const userSchema = new mongoose.Schema({ username: String, email: String, }, { timestamps: { createdAt: 'created_at', updatedAt: 'updated_at', }, }); const User = mongoose.model('User', userSchema);
6/25 completed, really gained confidence in data modelling , usage of one data models into another was one thing which i found fascinating , now see you on the next videos of journey
Thank you sincerely, sir, for this incredible series. It's the only video content I can watch for hours without feeling bored. Your dedication and efforts are truly appreciated.
4:45 : createdAt and updatedAt fields are given automatically by mongoose on settings timestamps as true as a second parameter when we define schema. --- 10:10 : These experiences are worth mentioning, it adds a layer of personal experiences while learning the concepts.
Recognizing Hitesh Sir's role in #chaiaurcode #backenddevelopment is commendable. Being grateful to teachers like him who shape our learning journeys is valuable.
Schema: Yeh define karta hai ke data ka structure kya hoga (kya fields aur types). Model: Yeh actual data ka example hai jo schema ke according banaya gaya hai.
Sir ap ki mongoose m data modeling video to bohot hi achi thi ab mongoose m koi confustion nhi ha mujhe Thanks a lot timestamps = createdAt() && updatedAt() 44:11 Best Advice ever build your logic and improve brain.exe file 💙
5:00 we can specify a different field name for the createdAt or updatedAt field, or you can specify a custom function that will be used to generate the timestamp value. const userSchema = mongoose.Schema({ email: String, timestamps: { createdAt: 'created_at', updatedAt: 'updated_at' } });
00:03 Strong data modeling is crucial for application development. 02:00 Data modeling for an e-commerce system 06:04 Data modeling for user information and details 08:02 Data modeling and schema for category management 12:10 Designing a product schema for an ecommerce platform 14:07 Storing images and videos in a cloud and using URLs to access them 17:38 Defining the data model and schema for ecommerce and hospital management 19:12 Setting up separate store for Indian and USD pricing 22:43 Creating an order item schema for managing product quantity and reference 24:33 Data modeling involves storing and referencing key information like product IDs and quantities. 27:46 Data modeling for order and address details 29:22 Enum in data modeling restricts choices for fields. 33:19 Data modelling for medical record schema and related schemas 35:43 The importance of patient and medical data in hospital management 39:22 Creating reference between hospital and user models 40:59 Data modelling for hospital management qualifications and experience 45:01 Data modelling for hospital management address fields 46:43 Data modeling for managing user likes and dislikes.
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.
I hope these experience based talks of yours helps us in becoming a better developer in the future. Although it's important to get into a job but i like details and different approaches just like you tell in these classes. So thanks, keep teaching.
I am just thrilled to have such a clear understanding of the concepts. My expectations from this series have just increased. Thank you so much sir for publishing the series.🙏🙏🙏#Chai aur Code
Just after this video, I went to github and some ecommerce open source project. And i am able to understand all the models they were writing for their project... THIS PROJECT IS NOT JUST TEACH YOU HOW TO WRITE CODE BACKEND. IT WILL TEACH YOU HOW TO THINK.
Recently I have completed chai and javascript course. I liked it very much cause you taught in more depth which others don't bother to teach. And now I have started this backend course. Thank you so much for giving us such a high Quality content for free #chaiaurcode
1. order is not matter in objects 2. Enum hame choices provide karta hai jo hum restrict karta hai. eg: status:{ type: String, enum : ["AC", "WA", "TLE"]
45:45 We should keep all those fields as String type on which we don't do any Arithmetic Operations like Pincode,Phone Number,Roll Number. Despite that they are numbers it is better to keep these kind of fields as String type. BTW Your level of teaching is next level.🔥
#ChaiaurCode #BackendMagic Your teaching style is very amazing. You teach every concept very clearly and indepth. Very excited to learn backend with #Chaiaurcode .
Hello sir, I have added checkup by which doctor referring with the doctor's collection. Thank you for this course #chaiaurcode good channel for the development
Learned a lots of things from your Javascript series and now learning from this playlist :) Thank you sir for being my mentor who guides me throughout my web development journey and trust me sir I have very low attention ability to watch videos but sir trust me apke videos dekhne ke time na mai bhool jata hu time dekhna apke teaching pe pura focus rehta hai mera so thank you so much sir ❤❤ for your quality videos mai apka bohot bada fan hu and mai kabhi kosis karunga apse real life milne ka 😁❤
The timestamps are used to automatically add two fields: "createdAt" and "updatedAt" to the schema of the MongoDB document. These fields are automatically updated whenever a new document is created (createdAt) and an existing one is updated (updatedAt). {timestamps: true} // This enables the timestamps option
Bhai saab mja aa gya ........... guys sacch me sir ne confidence develop kra diya. Aur ye confidence merekko actual me samajh kr aaya 🔥🔥 respect button for chai aur code ✅
4:55 - createdAt() and updatedAt() timestamps
10:10 - Experience bhari baatein mujhe bohot pasand hai sir ❤❤
kal maine ek course complete kia chai or JavaScript jo ki RUclips pe free me uplabdh hai top level of content, in-depth knowledge, hitesh sir aap bhagwan ka dia hua gift ho hmare lie, or aaj maine chai or react js padhna suru kia hai, bahot bahot abhari hai ham aapke.. 🙏🙏🙏🙏bahot bahot sukria.....
Thanks a ton 👍🏻🙏
Nobody teaches like him ......really well.....I am blindly ready now to purchase a course .
TimeLine
0:30-2:00 ⇒ general talk about Model & Guidance→ how to follow
3:00-31:20 ⇒ Ecommerce Modelling
4:00-7:30 ⇒stackblitz>files>models>ecommerce>user.models.js
8:00-10:50 ⇒stackblitz>files>models>ecommerce>category.models.js
11:00-19:25 ⇒stackblitz>files>models>ecommerce>product.models.js
19:40-31:20 ⇒stackblitz>files>models>ecommerce>order.models.js
31:45-47:00 ⇒ Hospita Management Modelling
36:10-40:00 ⇒ patient.models.js
40:05-44:20 ⇒doctor.models.js
44:40-47:00 ⇒ hospital.models.js
What an amazing lecture on data modelling. Even experienced lecturers don't teach it like that in universities.
I completed React part1 and i can say sir your way of teaching is uniqueeeeeeeee and no one teaches like you sir!! Itni dedication and cool composure, literally you're superb sirr!!
Sir pura data modelling dimag me chhap diya apne....💖
Thank you soo much for this type of content✨
Your ability to explain complex concepts with clarity and enthusiasm has not only deepened my understanding of the material but has also ignited a genuine interest and curiosity within me. thanks sir
Glad it was helpful! ❤️
right 100 percent
I smell chatGPT
createdAt and updatedAt - 4:36
han ji, hume apki experience bhari baate bahut pasand aati hai 😊 - 10:05
Bilkul ji, hum bhi aese hi bolte hai - 17:39
Sir target completed in just 1hrs...👏You're doing great!!
Thanks ❤️
Literally, Itna axha Paid courses ma nai pharhya jata. wo direct APi banma choro kr detay. But ap na sir bht core steps sa choro kiya ha awesome. Bundle of Prayers sir From Pakistan.🖤
THANK YOU SIR!!!!!
One tip from my side to all the fellow learners of this series: jitna bhi sir ne models sikhaya h pichle ek do videos se in sb ka notes jaroor banana bhot help krega. And aage k saare videos k important points note karna on physical notebook because i believe ki wo jyada impactful hota h and you actually think about while noting down the points.
Jisko meri advice shi lagi wo apply karna, baaki log toh already intelligent h
literally , itna easy way me smajha diya vo bhi fun ke saath saath...that's why u r the god of programming❤❤
It is a good practice to use the same name for the model in database and model constant and mongodb is intelligent enough to figure out how to make things plural without ruining the grammatical structure
in one lecture we don't get only what caption is elaborating but we get motivation and clear roadmap , how to do effective study nhi padhne ka mn h to bhi bhaiya ka koi bhi lecture chla ke baat sun skte bhut kch seekh skte h
This tutorial delivers as promised. Padha to sab denge, but main objective hai confidence lana. Best Backend Series on YT by far.
It is important to recognize Hitesh Sir's role in #chaiaurcode and backend development. Teachers like him shape our learning journeys and we should be grateful for their guidance.
hii
This is by far the best learning experience I have ever had in RUclips! Thank you so much for explaining so nicely.
The approach ,how hitesh sir teaches is awesome 💯
FINALLY I GOT CONFIDANCE BECAUSE OF YOU ONLY.................. THANK YOU AGAIN......... YOU ARE A BEST CONFIDANCE DEVELOPER..................
Mongoose schemas support a timestamps option. If you set timestamps: true, Mongoose will add two properties of type Date to your schema:
1. createdAt: a date representing when this document was created
2. updatedAt: a date representing when this document was last updated
A completely different and effective approach to start backend , you have build a quite different structure/Map of backend in our minds 💗quite helpful and understandable. THANKS HITESH SIR 😍
आप विडियो अच्छे बनाते हो समझाने का तरीका भी मस्त हैं 😍😍😍❤❤🔥🔥
10 12 saal Ka Jo experience hai
He is expert in Web development ❤
Esa kehtan han Dil sa pharhana.
Bohot confidence aya.
Ap ka bohot bohot sukriya. Muja Nodejs(mongoose) kuch hud tak atha be ha, magar tub be ap ka series follow kar raha hon k or be acha ho jae.
Abhe tak ap sa acha RUclipsr nahi daka And ap ka Teaching method tho pocho math Next level ha.
Love from Peshawar, Pakistan💚
Apki video jo crush k msg jaisi ho gai hain......
saare din inthaar krna pdta hai kab aayengi......
Love the way you teach ❤
10:08 - Yes, I loved that , because from the experience we got understood what to do ? and how to do? ❤❤❤❤
Sir, tbh experiences is the thing that tend to make you stand out from others! The only issue is that the videos seem to end so quickly... Waiting for 24 hours can feel like a long time, and it's a bit surprising how a 45-minute video just disappears without us even noticing
Same here
I never comment on any videos but the way you teach forced my innerself to do so
In Mongoose, when we define a schema for a document, you can use the timestamps option to add two timestamp fields to your documents: createdAt and updatedAt. These fields store information about when a document was created and when it was last updated.
example of timestamp attribute in code:
const mongoose = require('mongoose');
const userSchema = new mongoose.Schema({
username: String,
email: String,
}, {
timestamps: {
createdAt: 'created_at',
updatedAt: 'updated_at',
},
});
const User = mongoose.model('User', userSchema);
Timestamp: create time, update time
createdAt* deletedAt*😅
Yess createdAt updatedAt
Timestamps
The best backend teaching i have ever learned....
Thank you Bhaiya💙
200 comments to mai akela hi kar dunga
😂
😅😅😅😅
Created and updated
Toh kar naa 😂😂
Absolutely loving this series. Specially jo practice karaya hai apne bhai awesome work!!
200 Comments Done Under 30 minutes What Next ?
6/25 completed,
really gained confidence in data modelling , usage of one data models into another was one thing which i found fascinating , now see you on the next videos of journey
45:45 thats one of the reason, its worth watching hitesh sir !! Experience.....🔥
It's wonderful that you recognize and appreciate Hitesh Sir's contributions to #chaiaurcode #backenddevelopment.
Best Tutorial on Model, Great Effort sir, Thanks
The way you teach is sooo unique, I'm loving it.
huge respect sir. you make this modelling so easily for me.
10:10 - Experience bhari baatein mujhe bohot pasand hai sir, that gives us ingishts of what to do, what not to do, how to do or where to do
Thank you sincerely, sir, for this incredible series. It's the only video content I can watch for hours without feeling bored. Your dedication and efforts are truly appreciated.
Thank you so much sir for your great explanation about mongoose and data modelling. You explained each and every words simply great explanation.
this series is one of the finest courses i have learnt till date both paid and unpaid
9:07 - interesting point
13:51 - product image and best practice
Best data modelling video ever in youtube
Confidence to sirf aap dete hai , indepth explaining ❤
data modelling basic building blocks hammered pro max. Kudos 🙏🏼❤
apke experience ko share krne ki bhavna ko salaam hai sir
Learning on 10-sep-2024 , Thank you forever !
Satisfying explaination. Love from Bangladesh.❤
4:45 : createdAt and updatedAt fields are given automatically by mongoose on settings timestamps as true as a second parameter when we define schema.
---
10:10 : These experiences are worth mentioning, it adds a layer of personal experiences while learning the concepts.
Recognizing Hitesh Sir's role in #chaiaurcode #backenddevelopment is commendable. Being grateful to teachers like him who shape our learning journeys is valuable.
Schema: Yeh define karta hai ke data ka structure kya hoga (kya fields aur types).
Model: Yeh actual data ka example hai jo schema ke according banaya gaya hai.
Sir ap ki mongoose m data modeling video to bohot hi achi thi ab mongoose m koi confustion nhi ha mujhe Thanks a lot
timestamps = createdAt() && updatedAt()
44:11 Best Advice ever build your logic and improve brain.exe file 💙
5:00
we can specify a different field name for the createdAt or updatedAt field, or you can specify a custom function that will be used to generate the timestamp value.
const userSchema = mongoose.Schema({
email: String,
timestamps: {
createdAt: 'created_at',
updatedAt: 'updated_at'
}
});
Now data model is very clear to me
Thank you sir ❤
00:03 Strong data modeling is crucial for application development.
02:00 Data modeling for an e-commerce system
06:04 Data modeling for user information and details
08:02 Data modeling and schema for category management
12:10 Designing a product schema for an ecommerce platform
14:07 Storing images and videos in a cloud and using URLs to access them
17:38 Defining the data model and schema for ecommerce and hospital management
19:12 Setting up separate store for Indian and USD pricing
22:43 Creating an order item schema for managing product quantity and reference
24:33 Data modeling involves storing and referencing key information like product IDs and quantities.
27:46 Data modeling for order and address details
29:22 Enum in data modeling restricts choices for fields.
33:19 Data modelling for medical record schema and related schemas
35:43 The importance of patient and medical data in hospital management
39:22 Creating reference between hospital and user models
40:59 Data modelling for hospital management qualifications and experience
45:01 Data modelling for hospital management address fields
46:43 Data modeling for managing user likes and dislikes.
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.
I hope these experience based talks of yours helps us in becoming a better developer in the future. Although it's important to get into a job but i like details and different approaches just like you tell in these classes. So thanks, keep teaching.
I am just thrilled to have such a clear understanding of the concepts. My expectations from this series have just increased. Thank you so much sir for publishing the series.🙏🙏🙏#Chai aur Code
I remember the quote by Walter Lewin,
“Teachers who make physics class boring are criminals” .
you made last lecture really Good.
4:41 timestamps: createdAt, updatedAt
10:07 experience bhari baatein pasand aati hai
videos just keep getting better and better
great series
i was literally searching for a recent indept mongoose tutorial to enhance my understanding of it.
thank you so much
Just after this video, I went to github and some ecommerce open source project. And i am able to understand all the models they were writing for their project...
THIS PROJECT IS NOT JUST TEACH YOU HOW TO WRITE CODE BACKEND. IT WILL TEACH YOU HOW TO THINK.
This amazing backend series is mindblowing ,
Recently I have completed chai and javascript course. I liked it very much cause you taught in more depth which others don't bother to teach. And now I have started this backend course. Thank you so much for giving us such a high Quality content for free #chaiaurcode
Thank you so much sir for this crystal clear series
1. order is not matter in objects
2. Enum hame choices provide karta hai jo hum restrict karta hai. eg: status:{ type: String, enum : ["AC", "WA", "TLE"]
45:45 We should keep all those fields as String type on which we don't do any Arithmetic Operations like Pincode,Phone Number,Roll Number. Despite that they are numbers it is better to keep these kind of fields as String type.
BTW Your level of teaching is next level.🔥
0:30-2:00 ⇒ general talk about Model & Guidance→ how to follow
3:00-31:20 ⇒ Ecommerce Modelling
4:00-7:30 ⇒stackblitz>files>models>ecommerce>user.models.js
8:00-10:50 ⇒stackblitz>files>models>ecommerce>category.models.js
11:00-19:25 ⇒stackblitz>files>models>ecommerce>product.models.js
19:40-31:20 ⇒stackblitz>files>models>ecommerce>order.models.js
31:45-47:00 ⇒ Hospita Management Modelling
36:10-40:00 ⇒ patient.models.js
40:05-44:20 ⇒doctor.models.js
44:40-47:00 ⇒ hospital.models.js
This series is superb🔥🔥
hitesh bhaiya maza aagya. Ab bas practice kareneg aur revision karenge lectures complete karne ke baad.
Thank you sir for this wonderful video. It's always a pleasure learning from you. ❤
Excellent series ....Love it
I dont comment a lot
But here I had to ......
Thnx a lot Sir
able to write all the models by myself 🙇🏻♂( love watching your series sir)
100% very much like your experience talks. that's amazing!
a teacher with utmost patience 💖💖💖💖
This series is enough for master in backend
very good and understandable way to knowledge to geeks hats off to the way you make us understand 48:38
#ChaiaurCode #BackendMagic Your teaching style is very amazing. You teach every concept very clearly and indepth. Very excited to learn backend with #Chaiaurcode .
very good Tutorial on Model, Great Effort sir, Thanks
Thanku Sir to making such a great playlist Helps alot 😊
The two fields provided by schema are createdat and updatedat thank you sir for the vids
Superb quality as always . Thank you very much
Yes, this made me feel confident in backend.
love this series just wow full confidence😍
Hello sir, I have added checkup by which doctor referring with the doctor's collection. Thank you for this course #chaiaurcode good channel for the development
Thank you so much sir for sharing this level of information for free!!
Thank you for giving me confidence
the concepts are literally echoing in my mind I mean WOW, Sir you literally know your way to teach students ☕❤️
Learned a lots of things from your Javascript series and now learning from this playlist :) Thank you sir for being my mentor who guides me throughout my web development journey and trust me sir I have very low attention ability to watch videos but sir trust me apke videos dekhne ke time na mai bhool jata hu time dekhna apke teaching pe pura focus rehta hai mera so thank you so much sir ❤❤ for your quality videos mai apka bohot bada fan hu and mai kabhi kosis karunga apse real life milne ka 😁❤
thank you so much for this type of tutorial
Very grateful for this wonderful lecture.
How can one be so Kind while teaching 😍😍
The timestamps are used to automatically add two fields: "createdAt" and "updatedAt" to the schema of the MongoDB document. These fields are automatically updated whenever a new document is created (createdAt) and an existing one is updated (updatedAt).
{timestamps: true} // This enables the timestamps option
lol yaar so awesome video so clear concepts yaar hitesh sir bawaali don hai yaar
4:38 createdAt, updatedAt 😊😊