MongoDB & Node.js: Connecting & CRUD Operations (Part 1 of 4)

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

Комментарии • 71

  • @MongoDB
    @MongoDB  Год назад

    ✅ Sign-up for a free cluster at: mdb.link/free
    ✅ Get help on our Community Forums: mdb.link/community

  • @shanmukhag1823
    @shanmukhag1823 3 года назад +20

    Thank you Lauren Schaefer and MongDB team for taking time and create educational content and making available for everyone in the world. Keep going.🙏

  • @PretendCoding
    @PretendCoding 2 года назад +8

    Thank you!!! More people should make videos like this. A lot times it's "Ok so we'll start by installing these 8 frameworks" when they're teaching one thing. Like... I just want to know about the one thing. This has helped me so much more than any other tutorial on the topic I've watched. Thank you again

  • @CdLf-dv6vo
    @CdLf-dv6vo Год назад +3

    Honestly this video helped me so much, I was stuck but now able to move on. Thanks alot and I definetely will watch your videos you explain in detail Keep up the good work....

  • @taylorbarron4950
    @taylorbarron4950 2 года назад +1

    It's not very often that documentation is intuitive. Kudos for making a step by step that helps us beginners

  • @ashoksanjeev675
    @ashoksanjeev675 2 года назад +1

    helpful video, Love the way Lauren explained in the video with the examples, Thanks Lauren and MongoDB team

  • @soifriwaj2914
    @soifriwaj2914 3 года назад +7

    Thank you for the nice content. We often use ORMs to connect and do operations in mongodb which does most of the heavy lifting for us. Good to see the usage of the native driver

  • @JosephMJJ
    @JosephMJJ 3 года назад +2

    Lauren you are the best.

  • @miguelrolo55
    @miguelrolo55 2 года назад

    Wow! I learned a lot with this video 😁Mongo is my first choice right now, using MERN technic. It's been 1 year but still a very good video! Thank you so much Lauren Schaefer and MongDB team!!! Wish you best!
    Hugs from Portugal 🧡🧡🧡🧡

  • @Aiducateur
    @Aiducateur 3 года назад +2

    Thanks for taking the time to sooooo clearly explain the basics!!!

  • @mashleyelliott4668
    @mashleyelliott4668 3 года назад

    Super helpful! Thanks Lauren. You are awesome. You have great taste in glasses.

  • @jorgerivadeneiracevallos2701
    @jorgerivadeneiracevallos2701 3 года назад +2

    great course, i am waiting for the next chapter.

  • @kartikeyaagrawal5917
    @kartikeyaagrawal5917 3 года назад

    simple and clean video to learn. aweeeeesome

  • @Salon00
    @Salon00 3 года назад

    I came here from the last stream, very helpful!

  • @legendry
    @legendry 2 года назад

    Great video. It was super fun to watch.

  • @JesusRodriguez-io3fy
    @JesusRodriguez-io3fy 3 года назад +1

    I really liked it. I would like to see the next videos soon. Please notify when the next ones come out. Good luck and nice job. Greetings

  • @rayt.633
    @rayt.633 2 года назад +1

    good job. concise tutorial. seems more flexible than mssql so far…

  • @sirfara
    @sirfara Год назад

    Thanks a lot, Lauren!👏

  • @stefanw8203
    @stefanw8203 2 года назад

    Thanky you for providing this brillant content.

  • @iheanyichukwuaguwa6231
    @iheanyichukwuaguwa6231 3 года назад +4

    A four-part series... interesting.

  • @syednoohu8692
    @syednoohu8692 2 года назад

    Love to see more on mongoose rather mongoclient, Thanks

  • @alex45779
    @alex45779 2 года назад +2

    Спасибо огромное за уроки! Очень познавательное видео!

  • @oliverxu7964
    @oliverxu7964 2 года назад

    Thanks for sharing! it's a very good tutorial!

  • @peterballa6060
    @peterballa6060 Год назад

    Great video, thank you!

  • @giorgikalandadze9263
    @giorgikalandadze9263 2 года назад

    Great Explanation

  • @janavdhingra2409
    @janavdhingra2409 2 года назад

    This is a big help! Thank you!

  • @AlbrechtJ
    @AlbrechtJ Год назад

    Thanks for a tutorial.

  • @EdgarLindo
    @EdgarLindo 2 года назад +1

    Why are you guys using the full string for the connection? isn't it a security risk? why don't you process a .env instead?

  • @NathanielBabalola
    @NathanielBabalola 2 года назад +1

    I tried the create method but it returns an error saying
    MongoNotConnectedError: Client must be connected before running operations
    Any help?

  • @anirudhvasistha6136
    @anirudhvasistha6136 2 года назад

    Hi Team, I have a question, please help.
    Let us say that I have a list of employees. Now I want to increment Salary of all employees by +100 based on the employee ID that I receive.
    So, If employee ID not not existing in the DB, I should add the empID and then update the salary, inthis case Salary will be 100. ( 0+100).
    I am using forEach on employeeID list and for each employeeID, I am calling updateMany.
    This doesn't work the first time when I run. ( Only first record of the list gets updated and remaining are left. ) when I run 2nd time the same query, all the elements in the list get updated correctly

  • @ashishkashyap8021
    @ashishkashyap8021 2 года назад

    Good Job. Thanks!

  • @skverskk
    @skverskk 3 года назад +2

    Wow! Totally awesome tutorial with easy to follow examples. I see a lot of youtube tutorials out there are using mongoose with node. Do you have any opinion on mongoose?

  • @heavencanceller1863
    @heavencanceller1863 3 года назад +1

    Really helpful. thank you!

  • @graziacassano9263
    @graziacassano9263 3 года назад +1

    Hi, very useful! Anyway I already created CRUD routes that spoke to the local host and I was looking for "how to connect express to mongoDB" nd found you video but HOW DO I MAKE THE CONTENT I CREATED IN THE DB APPEAR ON THE WEB PAGE? Please let me know.

  • @tropic44
    @tropic44 3 года назад

    thank you for your great work

  • @MeezanTheFairBloke
    @MeezanTheFairBloke 2 года назад

    Super helpful video, imposter syndrome inducing but super helpful! Thank you!

  • @gtanmoy
    @gtanmoy 3 года назад +3

    Please make a video on 'Mongodb RealM Sync' with Angular.

  • @violentblush960
    @violentblush960 2 года назад

    I have followed this tutorial and the next day I wanted to continue but somehow when I go node demo.js my terminal doesnt connect and nothing happens even though I added an ip address of my new location and connect link including my password and username is still present. Do you have any idea why I might not be able to connect to mongoDb through my terminal?Thanks in advance.

  • @sardendibs
    @sardendibs 2 года назад +1

    Too many unanswered questions here: 1) How to make this work with client-side and server-side js? E.g. my client-side code returns "not a function" for "client.db" after following this. 2) Were "sample_airbnb" and "listingAndReviews" already created somewhere else? How will I create my own database and collection using code? 3) How to insert a pre-defined object instead of writing the data directly into the function as here? Basic questions, I am sure, but I came here to learn the basics of setting this up. I didn't.

    • @dailyreminder365
      @dailyreminder365 Год назад

      I too in the same boat. I am sure somebody has already made MongoDB to their app. So if they can share a tutorial for it, I will be grateful.

  • @aryamannverma
    @aryamannverma 2 года назад

    Thanks for the video, It was very helpful for me to start understanding mongoDB & CRUD as a beginner. Can I ask what theme you're using on VScode, it looks very clean & readable

  • @r_mani41
    @r_mani41 3 года назад

    awaiting for next parts eagerly.. btw where can I get the cheat sheet of Mongodb CRUD operations

  • @Kaczka-xv6jj
    @Kaczka-xv6jj 2 года назад

    Thanks

  • @roshanthapa25
    @roshanthapa25 2 года назад

    Amazing

  • @soumyakasarapu9805
    @soumyakasarapu9805 2 года назад

    I have databases in my cluster but I'm getting empty array for list of databases. Can anyone help me onthis

  • @riyazar2001
    @riyazar2001 3 года назад

    what about the offline sync and database of the local browser(client)?

  • @atanusamanta3835
    @atanusamanta3835 3 года назад

    Hey, can you tell how to use mongodb schema validation with collection in node js ? It will be very helpful.

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

    I'm running this exact code and it's throwing errors? Is it a filepathing error?

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

      nvm I figured it out it was a pathing issue with the explorer you should explain that in the beginning

  • @kittisakphatchaiphongsa3177
    @kittisakphatchaiphongsa3177 2 года назад

    Thx you very much

  • @APerson-d5s
    @APerson-d5s 3 года назад +1

    Is there a link to the sample data?

    • @lauren_schaefer
      @lauren_schaefer 3 года назад

      The sample data is built into Atlas. See docs.atlas.mongodb.com/sample-data/for more info

  • @mohammadyaseen5339
    @mohammadyaseen5339 2 года назад

    I have a problem . I am connecting my app to mongo cluster but it give me error ..can anyone help me

  • @nabeelengineer7397
    @nabeelengineer7397 3 года назад

    Thank you

  • @rishengopaldass1103
    @rishengopaldass1103 2 года назад

    Thank you. Really good content.
    How does Mongodb handle images and other file types?

  • @yannm7800
    @yannm7800 3 года назад +1

    great thanks ..... ! but we must wiatin 2021 for have this kind of videos ??? it's creazy :-/

  • @its_j10
    @its_j10 Год назад

    how to update by id?

  • @victoria-exito
    @victoria-exito Год назад

    With the magic of edition I magically got lost 😓

  • @shifureisaikyou2055
    @shifureisaikyou2055 2 года назад

    username in plaintext in the code is vulnerability

  • @threeone6012
    @threeone6012 Год назад

    MongoDB looks just as easy as Mongoose. I should have learned MongoDB instead of Mongoose.

  • @yesno5286
    @yesno5286 Год назад

    TypeError: client.db(...).admin(...).listDataBase is not a function ... this video is out of date :)

  • @truongbuipv
    @truongbuipv 3 года назад

    But I'm using mongoose

  • @abdabdabd886
    @abdabdabd886 3 года назад

    I think you are going too fast for a beginner, you are explaining very little about the things you are doing, I wanted an in-depth explanation for ex: MongoClient, what it is and what it does, I think this video could have been improved a bit further

  • @kenansari
    @kenansari 3 года назад

    16:34 :)