How To Install MongoDB In 2 Minutes

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ย. 2024

ความคิดเห็น • 70

  • @WebDevSimplified
    @WebDevSimplified  5 ปีที่แล้ว +7

    Download MongoDB Here: www.mongodb.com/download-center/community

  • @developedbyed
    @developedbyed 5 ปีที่แล้ว +33

    Love the mongo with mongoose combination. You can throw some stuff together real quick

    • @WebDevSimplified
      @WebDevSimplified  5 ปีที่แล้ว +2

      It is super slick. It really makes working with a database so easy.

    • @danishsiddiqui2468
      @danishsiddiqui2468 4 ปีที่แล้ว +2

      We want you two to collab!!!

  • @hanmyzone
    @hanmyzone 4 ปีที่แล้ว +8

    Just recently discovered the WDS channel. Fantastic tutoring, great pace, with thorough explanations. Really impressive.

  • @davidmwendwa3259
    @davidmwendwa3259 4 ปีที่แล้ว +5

    I love how short and precise your videos are. Always binge watching !!!

  • @LuckystrikeGFXer
    @LuckystrikeGFXer 5 ปีที่แล้ว +29

    My left ear felt lonely in the time frame from 0:22 to 1:09. Thanks for the video, but I have a few questions: Can you create a REST API for the Database you create on the MongoDB Server? Also is it possible to work on a DB with a GUI instead of the console?

    • @WebDevSimplified
      @WebDevSimplified  5 ปีที่แล้ว +2

      My apologies for the sound problems. The sound card on my motherboard is dying on me.
      It is possible to create a REST API for the database, but you must have some form of server that accepts your API calls and then queries the database and sends the information back to the user.
      It is possible to use a GUI for most DBs. MongoDB Compass, which you can choose to install alongside MongoDB is a GUI for MongoDB. I have never used it, so I cannot vouch for how good it is, but I am sure it is fine.

    • @LuckystrikeGFXer
      @LuckystrikeGFXer 5 ปีที่แล้ว

      @@WebDevSimplified Thank you and no worries about the sound problems in this video. It was just a funny remark.

    • @ivanpavlovnorth
      @ivanpavlovnorth 5 ปีที่แล้ว +3

      With that sound problem, I have discovered one of my audio speakers has died. Thanks. (:

  • @divyanshagarwal993
    @divyanshagarwal993 4 ปีที่แล้ว +1

    I just reinstalled windows and watched this video. I spent hours trying to update my audio drivers lol. Got shit scared that I messed something up.
    Simple and easy to follow video though!

  • @steliosm.1755
    @steliosm.1755 3 ปีที่แล้ว +2

    I rarely make comments but this time I will... THANK YOU, YOU MADE IT SO SIMPLE AND QUICK!

  • @mr.webdev3700
    @mr.webdev3700 5 ปีที่แล้ว +4

    Short and sweet! Good job!

  • @manoj.kiran.a
    @manoj.kiran.a 5 ปีที่แล้ว +2

    Explained clearly.Thank you sir

  • @jadealdrincantollas6180
    @jadealdrincantollas6180 ปีที่แล้ว +2

    Hello! I'm with this kind of stuff. I downloaded the mongo but when I have look at the there is no mongo.exe. There is only mongod and mongos. Can you tell me is there something wrong with my download?

    • @anzakutama3489
      @anzakutama3489 ปีที่แล้ว +1

      Hey I had just now had the same problem. Did you happen to have found the solution?

    • @cristinageorgiana3354
      @cristinageorgiana3354 ปีที่แล้ว

      @@anzakutama3489 did you find out what was the problem?

  • @anupamarai5918
    @anupamarai5918 4 ปีที่แล้ว +1

    Thank u so much... Your video was clear and concise... 🙌

  • @akshaysharma1145
    @akshaysharma1145 4 ปีที่แล้ว +2

    You are the best teacher.

  • @Reyeox
    @Reyeox 4 ปีที่แล้ว

    Nice dude, short and exactly video.

  • @saurav-sky55
    @saurav-sky55 3 ปีที่แล้ว +7

    hello i recently installed the mongo from the link provided but i didnt get the exe file so i ran mongo file which ran for a sec and terminated showing error need your help

    • @anzakutama3489
      @anzakutama3489 ปีที่แล้ว +1

      I have just had the same problem. Did you happen to have found the solution?

    • @davidwilliam6555
      @davidwilliam6555 ปีที่แล้ว

      ​@@anzakutama3489Hey friends! It's probably because you installed MongoDB Compass visual interface. To find the shell, just open Compass, click connect and click on the left bottom corner where it says ">_MONGOSH"

  • @jhonlee788
    @jhonlee788 2 ปีที่แล้ว

    Hello ! I wanted to know, how i can host it on a server like Cpanel ?
    I want to deploy my app , and i'm using MongoDB , but i can only use Atlas and i don't want to use the Pay as u Go plan.
    Thanks in advance !

  • @dev-rachid
    @dev-rachid 3 ปีที่แล้ว

    Locally, what kind of the connection string should we write instead atlas 's connection string ?

  • @snake1625b
    @snake1625b 2 ปีที่แล้ว +2

    is it possible to just install it with npm?

  • @AnnieTaylorChen
    @AnnieTaylorChen 5 ปีที่แล้ว

    I have a question: why don't we install the database storage locally in each project folder? It seems we have to have a whole root folder, which has each project's database there all together?

    • @WebDevSimplified
      @WebDevSimplified  5 ปีที่แล้ว +1

      That is a really good question. I am not entirely sure why it is done this way, but if I had to guess it is because it makes it easier for the database to access the information if it is always in the same spot and it makes it easier for the database to access information that is shared across all databases. I am sure there is probably a way to save your database locally to your project, but I have never had a need to do so. I like having it in one location so I can easily remove everything if I want, and so I dont have to worry about .gitignore for the database files.

  • @harisisani221
    @harisisani221 2 ปีที่แล้ว

    Short & on point

  • @vaibhavikhadge4405
    @vaibhavikhadge4405 5 ปีที่แล้ว

    Thank you so much...mich helpful and easy to install video

  • @HarshNarwariya-p3z
    @HarshNarwariya-p3z 11 หลายเดือนก่อน

    What to do if only want to run server, whenever it is required?

  • @tomntinas6924
    @tomntinas6924 3 ปีที่แล้ว +1

    You forgot to mention that you should first create a data/db path on your C: directory in order to run *mongod* command !!

  • @robimegu3712
    @robimegu3712 3 ปีที่แล้ว

    Is here a keyboard shortcut, to like your videos? 💙

  • @stachowi
    @stachowi 5 ปีที่แล้ว

    Wow your channel is awesome, thanks!

  • @HostDotPromo
    @HostDotPromo 5 ปีที่แล้ว +1

    Prefer mysql, yet still love Mongo 👍

    • @WebDevSimplified
      @WebDevSimplified  5 ปีที่แล้ว +1

      I would have to say that Postgres is probably my favorite DB to use.

    • @HostDotPromo
      @HostDotPromo 5 ปีที่แล้ว

      @@WebDevSimplified Cool, why so?

    • @WebDevSimplified
      @WebDevSimplified  5 ปีที่แล้ว

      @@HostDotPromo I just like all the features it has, and the fact that it is a relational database.

    • @AnnieTaylorChen
      @AnnieTaylorChen 5 ปีที่แล้ว

      @@WebDevSimplified What are the differences and pros and cons of Postgres and MongoDB? In my shallow impression, it seems P is good for accounting, e-commerce(?), while M is good for content management etc. How should we choose the right one for the product?

    • @WebDevSimplified
      @WebDevSimplified  5 ปีที่แล้ว

      @@AnnieTaylorChen that is a great question. The main difference is that MongoDB is a NOSQL database while Postgres is a standard relational database. This means that Postgres has built in features for foreign keys and indexes, while MongoDB doesn't have the same concept of foreign keys. You can still do foreign keys in MongoDB but the database will not enforce the foreign key. This means that if you delete a row that is referenced by a different row MongoDB will allow it but Postgres will not by default.
      Overall I think NOSQL databases are good if you need to rapidly change the schema of your data, or you are not sure what your schema will be. It is also good if you have a very simple database where you just need to store and retrieve basic non related information.
      A relational database on the other hand is better if you have a more complex schema or you want to have strict relationships between your data. I almost always use a relational database since I prefer the strictness of them, but I haven't really messed with NOSQL that much since most of my projects haven't had a need for a NOSQL database.

  • @mytho2630
    @mytho2630 4 ปีที่แล้ว

    I want to run my server on my own laptop but still be able to access it while I'm on my own network. How would I do this?

  • @chernirayen8020
    @chernirayen8020 8 หลายเดือนก่อน

    hey man !!!
    you are the best :)

  • @dev-rachid
    @dev-rachid 3 ปีที่แล้ว +1

    Nice, thanks 👍

  • @mr.jaweedkhan3364
    @mr.jaweedkhan3364 5 ปีที่แล้ว

    Can you please create a Video on installing and setting up MongoDB on Linux Ubuntu

    • @WebDevSimplified
      @WebDevSimplified  5 ปีที่แล้ว +1

      There should just be a simple apt-get command to install MongoDB for linux. I don't have a linux computer setup to record with to show you.

    • @mr.jaweedkhan3364
      @mr.jaweedkhan3364 5 ปีที่แล้ว

      @@WebDevSimplified Thanks for the quick reply

  • @ragnarok7976
    @ragnarok7976 3 ปีที่แล้ว

    ah I was making this more complicated than it needs to be. I kinda feel like I do when someone sends me a "let me google that for you" link now...

  • @TheZlane
    @TheZlane 5 ปีที่แล้ว

    Love your vids

  • @SoraHermit
    @SoraHermit 3 ปีที่แล้ว

    Would prefer a Linux tut, tbh

  • @SquaredbyX
    @SquaredbyX 5 ปีที่แล้ว

    can you show how to install on mac? .exe is windows only

    • @WebDevSimplified
      @WebDevSimplified  5 ปีที่แล้ว +1

      I dont have a mac but you should be able to install it using a single brew command on mac. It is much easier

  • @therodri595
    @therodri595 5 ปีที่แล้ว

    Can you make a tutorial with react + express + mongo

    • @WebDevSimplified
      @WebDevSimplified  5 ปีที่แล้ว +1

      I will in the future. I am finishing up a big Node.js, Express, and MongoDB course right now, but I definitely want to dive into React sometime after that.

    • @leviciarrocchi7895
      @leviciarrocchi7895 3 ปีที่แล้ว

      @@WebDevSimplified where is this course?

  • @aymangaafer2158
    @aymangaafer2158 2 ปีที่แล้ว

    Awesome

  • @exivido4742
    @exivido4742 ปีที่แล้ว

    u are awesome

  • @Zeegi
    @Zeegi 2 หลายเดือนก่อน +1

    watched this video ! it worked ,but when open mongo.exe file to execute it is not opening ,it opens and within 1 sec it closes ,i tried many times .....at last i saw the author /the creater of this video....man you r soooooo dam ass handsome!!!! 🙆🙆🙆🙆🙆🙆🙆🙀🙀🙀🙀🙀🙀🙀🙀🙀🙀🙀🙀🙀🙀🙀....wow i hope i get a hondsome husb as you!!! ok byee sir

  • @andrey_andreevich_official
    @andrey_andreevich_official ปีที่แล้ว

    Ребят, может кто-нибудь шарит за Монго? Нужна помощь нашему коллеге.