Ecommerce and Hospital management Data modelling

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 1,8 тыс.

  • @addictiveguitarist6811
    @addictiveguitarist6811 7 месяцев назад +66

    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 ✅

  • @remo_ez_gaming
    @remo_ez_gaming 10 месяцев назад +108

    4:55 - createdAt() and updatedAt() timestamps
    10:10 - Experience bhari baatein mujhe bohot pasand hai sir ❤❤

  • @hrithikkushwaha237
    @hrithikkushwaha237 Год назад +19

    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.....

  • @shubhamprpcoe3877
    @shubhamprpcoe3877 7 месяцев назад +9

    Nobody teaches like him ......really well.....I am blindly ready now to purchase a course .

  • @vikassahani2874
    @vikassahani2874 Год назад +65

    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

  • @Ali-2812
    @Ali-2812 4 месяца назад +2

    What an amazing lecture on data modelling. Even experienced lecturers don't teach it like that in universities.

  • @interstellar5703
    @interstellar5703 Год назад +48

    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!!

  • @SNEHASINGH-fr4vo
    @SNEHASINGH-fr4vo 8 месяцев назад +5

    Sir pura data modelling dimag me chhap diya apne....💖
    Thank you soo much for this type of content✨

  • @realtime9813
    @realtime9813 Год назад +42

    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

  • @piyush5070
    @piyush5070 23 дня назад

    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

  • @pranavdeveloper
    @pranavdeveloper Год назад +10

    Sir target completed in just 1hrs...👏You're doing great!!

  • @mosin8673
    @mosin8673 7 месяцев назад +3

    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.🖤

  • @divamdubey8420
    @divamdubey8420 5 месяцев назад +2

    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

  • @Shivank_07
    @Shivank_07 9 месяцев назад +1

    literally , itna easy way me smajha diya vo bhi fun ke saath saath...that's why u r the god of programming❤❤

  • @talhakhan4684
    @talhakhan4684 День назад

    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

  • @mohitkumarmourya
    @mohitkumarmourya 7 месяцев назад +2

    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

  • @Ankurkumar-sn9eu
    @Ankurkumar-sn9eu 2 месяца назад

    This tutorial delivers as promised. Padha to sab denge, but main objective hai confidence lana. Best Backend Series on YT by far.

  • @yogitashete6742
    @yogitashete6742 11 месяцев назад +10

    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.

  • @TemplateMoy
    @TemplateMoy Месяц назад

    This is by far the best learning experience I have ever had in RUclips! Thank you so much for explaining so nicely.

  • @akashpanda9922
    @akashpanda9922 Год назад +10

    The approach ,how hitesh sir teaches is awesome 💯

  • @poojalahane2584
    @poojalahane2584 6 месяцев назад +1

    FINALLY I GOT CONFIDANCE BECAUSE OF YOU ONLY.................. THANK YOU AGAIN......... YOU ARE A BEST CONFIDANCE DEVELOPER..................

  • @believer_rajdevyadav
    @believer_rajdevyadav Год назад +30

    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

  • @fawad_khan
    @fawad_khan 8 месяцев назад +1

    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 😍

  • @PrahladSingh-z7n
    @PrahladSingh-z7n Год назад +8

    आप विडियो अच्छे बनाते हो समझाने का तरीका भी मस्त हैं 😍😍😍❤❤🔥🔥

  • @iUmerFarooq
    @iUmerFarooq 4 месяца назад

    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💚

  • @princevishwakarmaa
    @princevishwakarmaa Год назад +4

    Apki video jo crush k msg jaisi ho gai hain......
    saare din inthaar krna pdta hai kab aayengi......
    Love the way you teach ❤

  • @dineshshinde2116
    @dineshshinde2116 Месяц назад

    10:08 - Yes, I loved that , because from the experience we got understood what to do ? and how to do? ❤❤❤❤

  • @yadnyeshkhotre2001
    @yadnyeshkhotre2001 Год назад +5

    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

  • @hungryman6711
    @hungryman6711 8 месяцев назад +1

    I never comment on any videos but the way you teach forced my innerself to do so

  • @yadnyeshkhotre2001
    @yadnyeshkhotre2001 Год назад +11

    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);

  • @AnandMaurya-eq5cv
    @AnandMaurya-eq5cv Год назад +52

    Timestamp: create time, update time

    • @synodox
      @synodox Год назад +4

      createdAt* deletedAt*😅

    • @nigam_sharma
      @nigam_sharma Год назад +3

      Yess createdAt updatedAt

    • @shavez6745
      @shavez6745 8 месяцев назад +2

      Timestamps

  • @jasminradadiya4554
    @jasminradadiya4554 3 месяца назад +1

    The best backend teaching i have ever learned....
    Thank you Bhaiya💙

  • @mudrad1930
    @mudrad1930 11 месяцев назад +62

    200 comments to mai akela hi kar dunga

  • @sudiptaanirban8833
    @sudiptaanirban8833 3 месяца назад +1

    Absolutely loving this series. Specially jo practice karaya hai apne bhai awesome work!!

  • @wsb13
    @wsb13 Год назад +4

    200 Comments Done Under 30 minutes What Next ?

  • @Rohit_Gunwal
    @Rohit_Gunwal 4 месяца назад

    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

  • @gamingchannelX9
    @gamingchannelX9 5 месяцев назад +1

    45:45 thats one of the reason, its worth watching hitesh sir !! Experience.....🔥

  • @SarwanKumar-dz2hh
    @SarwanKumar-dz2hh 11 месяцев назад

    It's wonderful that you recognize and appreciate Hitesh Sir's contributions to #chaiaurcode #backenddevelopment.

  • @Dev-Phantom
    @Dev-Phantom 8 месяцев назад +1

    Best Tutorial on Model, Great Effort sir, Thanks

  • @Shabareesha
    @Shabareesha 3 месяца назад

    The way you teach is sooo unique, I'm loving it.

  • @308_akashsharma2
    @308_akashsharma2 Месяц назад

    huge respect sir. you make this modelling so easily for me.

  • @ajeetkumarrauniyar
    @ajeetkumarrauniyar 6 месяцев назад

    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

  • @mohammadhanif3016
    @mohammadhanif3016 10 месяцев назад +1

    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.

  • @dhananjaywake8222
    @dhananjaywake8222 10 месяцев назад

    Thank you so much sir for your great explanation about mongoose and data modelling. You explained each and every words simply great explanation.

  • @mudrad1930
    @mudrad1930 11 месяцев назад

    this series is one of the finest courses i have learnt till date both paid and unpaid

  • @SunBloomings
    @SunBloomings 6 месяцев назад

    9:07 - interesting point
    13:51 - product image and best practice

  • @nandishbt2405
    @nandishbt2405 3 месяца назад

    Best data modelling video ever in youtube

  • @prince-scripts
    @prince-scripts 6 месяцев назад

    Confidence to sirf aap dete hai , indepth explaining ❤

  • @pranaypaul6361
    @pranaypaul6361 6 месяцев назад

    data modelling basic building blocks hammered pro max. Kudos 🙏🏼❤

  • @DhruvYadav-ft3no
    @DhruvYadav-ft3no 5 месяцев назад

    apke experience ko share krne ki bhavna ko salaam hai sir

  • @GuruPrasadSS-g1p
    @GuruPrasadSS-g1p 2 месяца назад

    Learning on 10-sep-2024 , Thank you forever !

  • @MdNazmulIslam-m7v
    @MdNazmulIslam-m7v Месяц назад

    Satisfying explaination. Love from Bangladesh.❤

  • @shoaib_akhtar_1729
    @shoaib_akhtar_1729 2 месяца назад +1

    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.

  • @saurabhjaykar1603
    @saurabhjaykar1603 11 месяцев назад

    Recognizing Hitesh Sir's role in #chaiaurcode #backenddevelopment is commendable. Being grateful to teachers like him who shape our learning journeys is valuable.

  • @sonukatiyar4452
    @sonukatiyar4452 Месяц назад

    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.

  • @pxycknomdictator4483
    @pxycknomdictator4483 3 месяца назад

    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 💙

  • @nishitagupta8532
    @nishitagupta8532 8 месяцев назад

    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'
    }
    });

  • @tuhinghosh9737
    @tuhinghosh9737 6 месяцев назад

    Now data model is very clear to me
    Thank you sir ❤

  • @GohelAbhi
    @GohelAbhi 7 месяцев назад

    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.

  • @K_EE_Koshal
    @K_EE_Koshal 11 месяцев назад

    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.

  • @ankushmaurya9426
    @ankushmaurya9426 10 месяцев назад

    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.

  • @tejasmhaske932
    @tejasmhaske932 11 месяцев назад +2

    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

  • @hiii-brooo
    @hiii-brooo 3 месяца назад

    I remember the quote by Walter Lewin,
    “Teachers who make physics class boring are criminals” .
    you made last lecture really Good.

  • @anubhavtiwari3153
    @anubhavtiwari3153 9 месяцев назад

    4:41 timestamps: createdAt, updatedAt
    10:07 experience bhari baatein pasand aati hai

  • @levihacker6392
    @levihacker6392 13 дней назад

    videos just keep getting better and better

  • @shahriarmostafiz1292
    @shahriarmostafiz1292 6 месяцев назад

    great series
    i was literally searching for a recent indept mongoose tutorial to enhance my understanding of it.
    thank you so much

  • @danish7335
    @danish7335 9 месяцев назад

    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.

  • @developer_dhanji
    @developer_dhanji 7 месяцев назад

    This amazing backend series is mindblowing ,

  • @yashraut221
    @yashraut221 11 месяцев назад

    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

  • @Debanjali-uk7wf
    @Debanjali-uk7wf 2 месяца назад

    Thank you so much sir for this crystal clear series

  • @Learner010
    @Learner010 7 месяцев назад

    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"]

  • @aamirmajeedkhan9570
    @aamirmajeedkhan9570 7 месяцев назад

    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.🔥

  • @Ajay-s4u7q
    @Ajay-s4u7q 10 месяцев назад

    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

  • @harshraghav7462
    @harshraghav7462 9 месяцев назад +1

    This series is superb🔥🔥

  • @nishu20501
    @nishu20501 7 месяцев назад

    hitesh bhaiya maza aagya. Ab bas practice kareneg aur revision karenge lectures complete karne ke baad.

  • @himadriroy7980
    @himadriroy7980 3 месяца назад

    Thank you sir for this wonderful video. It's always a pleasure learning from you. ❤

  • @DhrubDas-n8w
    @DhrubDas-n8w 7 месяцев назад

    Excellent series ....Love it
    I dont comment a lot
    But here I had to ......
    Thnx a lot Sir

  • @nikksanirudh
    @nikksanirudh 2 месяца назад

    able to write all the models by myself 🙇🏻‍♂( love watching your series sir)

  • @miraahmed3059
    @miraahmed3059 5 месяцев назад

    100% very much like your experience talks. that's amazing!

  • @FinnBalor-q9b
    @FinnBalor-q9b 9 месяцев назад

    a teacher with utmost patience 💖💖💖💖

  • @Nikhil_parjapati.
    @Nikhil_parjapati. 27 дней назад

    This series is enough for master in backend

  • @shrishsomawat9107
    @shrishsomawat9107 8 месяцев назад

    very good and understandable way to knowledge to geeks hats off to the way you make us understand 48:38

  • @atharvkhamkar8217
    @atharvkhamkar8217 11 месяцев назад

    #ChaiaurCode #BackendMagic Your teaching style is very amazing. You teach every concept very clearly and indepth. Very excited to learn backend with #Chaiaurcode .

  • @BurhanRabbani-e1r
    @BurhanRabbani-e1r 7 месяцев назад

    very good Tutorial on Model, Great Effort sir, Thanks

  • @DivayGarg-t2d
    @DivayGarg-t2d 4 месяца назад

    Thanku Sir to making such a great playlist Helps alot 😊

  • @kartikegandhi3153
    @kartikegandhi3153 5 месяцев назад

    The two fields provided by schema are createdat and updatedat thank you sir for the vids

  • @ruturajbhandari7695
    @ruturajbhandari7695 6 месяцев назад

    Superb quality as always . Thank you very much

  • @shubhamrathod9249
    @shubhamrathod9249 3 месяца назад

    Yes, this made me feel confident in backend.

  • @karma97652
    @karma97652 28 дней назад

    love this series just wow full confidence😍

  • @webfnatic
    @webfnatic 10 месяцев назад

    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

  • @RajCreationAA
    @RajCreationAA 10 месяцев назад

    Thank you so much sir for sharing this level of information for free!!

  • @shubhamkakad10x
    @shubhamkakad10x 10 месяцев назад +1

    Thank you for giving me confidence

  • @parthpitroda35
    @parthpitroda35 8 месяцев назад

    the concepts are literally echoing in my mind I mean WOW, Sir you literally know your way to teach students ☕❤️

  • @remo_ez_gaming
    @remo_ez_gaming 10 месяцев назад

    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 😁❤

  • @SonuKumar-s3o8x
    @SonuKumar-s3o8x Месяц назад +1

    thank you so much for this type of tutorial

  • @anmolthakur9258
    @anmolthakur9258 10 месяцев назад

    Very grateful for this wonderful lecture.

  • @AyurvedaAddict
    @AyurvedaAddict 9 месяцев назад

    How can one be so Kind while teaching 😍😍

  • @soniyaprasad77
    @soniyaprasad77 9 месяцев назад

    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

  • @shivam-mp4vr
    @shivam-mp4vr 4 месяца назад

    lol yaar so awesome video so clear concepts yaar hitesh sir bawaali don hai yaar

  • @KaifKhan_001
    @KaifKhan_001 3 месяца назад +1

    4:38 createdAt, updatedAt 😊😊