MERN Stack #7: Connecting Backend with MongoDB Database (Node.js + Mongoose Connection)

Поделиться
HTML-код
  • Опубликовано: 31 июл 2024
  • Welcome, We'll show you how to write the connection code using Mongoose, call it in your server.js file, and check your local database for data. This step-by-step guide will boost your MERN stack skills and ensure a solid link between your backend and database. Let's build something great together!
    📚 Resources mentioned in our MERN Course & Don't forget to watch 👇
    👉 MongoDB Course: • MongoDB Complete Cours...
    Get the Complete Courses in One Video experience right here!
    🔗🌟 Get your Free Source Code and Notes now 👉 thapatechnical.shop/courses
    Join us on this exciting coding journey to master the MERN Stack together! Be sure to hit that subscribe button and ring the notification bell, so you never miss our engaging Hindi tutorials. Your web development skills are about to level up - let's do this!
    👍 Feel free to like, share, and ask questions in the comments. We're here to help!
    -----------------------------------------------------
    ✌️ Become Member, get access to perks, free Source code, & more..
    / @thapatechnical
    🚀 Check my Instagram to connect with me: / thapatechnical
    🗨️ Discord Server Link for Programmer to Hangout: / discord
    -----------------------------------------------------
    ⏳TIMELINE⏳
    0:00 - Introduction
    0:28 - Explore the World's Best MongoDB Course
    1:25 - Login to MongoDB Atlas
    3:20 - Installing Mongoose
    4:01 - Writing Mongoose Connection Code
    8:15 - Integrating the Connection in the Server.js File
    9:32 - Verifying Data in the Local Database
    ************ 😍 Must Watch Videos For Web Development 😍 ************
    ➡️ Complete Reactjs in One video here • ReactJS For Beginners ...
    ➡️ HTML in One Video: • Learn HTML in One Vide...
    ➡️ CSS in One video: • Learn Complete CSS In ...
    ➡️ CSS FlexBox in 30 Minutes: • CSS FlexBox in 30 Minu...
    ➡️ JavaScript in One video: • JavaScript in One Vide...
    ➡️ ECMAScript 6 in One Video: • ES5 & ES6 | ECMAScript...
    ➡️ HTML5 in one video: • HTML5 Tutorial in One ...
    ➡️ CSS3 in one video: • Learn Complete CSS3 In...
    ➡️ Bootstrap4 in One video: • Bootstrap 4 in One Vid...
    ➡️ Jquery in One video: • jQuery in One Video in...
    ➡️ JSON in one video: • JSON in One Video in H...
    ➡️ ReactJS in one video: • ReactJS For Beginners ...
    ➡️ PHP in One Video: • PHP TUTORIAL IN ONE VI...
    ➡️ NodeJS in one video: / ipnwakoibt
    ➡️ MySQL in one video: • Complete SQL & MySQL i...
    ➡️ Advanced JavaScript in Hindi Playlist: • Advanced JavaScript Tu...
    ➡️ ES5 & ES6 | ECMAScript 6 in One Video in Hindi: • ES5 & ES6 | ECMAScript...
    ➡️ JavaScript Game Development Series in 2020: • JavaScript Game Develo...

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

  • @rulesofsuccessfullife6098
    @rulesofsuccessfullife6098 8 месяцев назад +11

    Please yar inke 1 million karwao I like you Thapa Bhai Love from Pakistan a small student here!

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

    Bhai aaj tk coding k kitne tutorial dekhe third year mai ane tak kbhi kisi tutorial pe comment nhi kiya lekin apne krne ko mjboor kr diya! Amazing tutorial❤

  • @mahensaha3335
    @mahensaha3335 8 месяцев назад +3

    Love your content! Could you make a video on WebSockets and maybe include a project demo? Your insights would be awesome for understanding and applying this tech. Thanks a ton!

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

    Amazing sir I learned many things from you. 🙏💯

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

    thanks simple easy come here after watching many videos thanks problem solved

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

    Best course ever like React ecommerce website tutorial...par bhaiya thoda slow upload kar rhe hain. Interview shuru hain. Agar aapke pass videos recorded ho to please 2-3 video per day upload kar do

  • @information3214
    @information3214 7 месяцев назад +8

    Respected sir! you have a great course and understanding everything well and good but from the past two years i noticed you always whenever stating new series of any course so in the middle whenever some coding time comes so you always saying to check out your previous old videos for that. Now same in this series in lecture 7, you did database connectinvity by skipping all those major steps . I know 99% people are facing connectiving of database fail problems. try show everything again when starting new series instead of for simple connectivity watching whole series of mongodb. Plz be fair .......More thanks for vds..................

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

    Bro how to read and quickly enhanced node js

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

    in mongotab atlas,in network acess,my ip address status is inactive,how to make it active?? Please tell me

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

    Amazing 👏

  • @sauravsuri8628
    @sauravsuri8628 8 месяцев назад +3

    Sir can you please tell me that how many months it takes to complete this series

  • @Manoj_Jadhav.12
    @Manoj_Jadhav.12 6 месяцев назад

    Thank you

  • @ladakhipodcast2436
    @ladakhipodcast2436 8 месяцев назад +3

    Happy diwali Thapa sir, Sir your website is not working, I needed the notes and link is showing the server down. Please sir 🎉🎉❤❤❤

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

    Whats ur vscode setup extensions

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

    Sir html course wali notes and sourcecode ki link open nahi ho rahi hai

  • @meow-rd6op
    @meow-rd6op 8 месяцев назад +2

    sir your store site isn"t working

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

    great

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

    Sir plz firebase padha de

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

    Code source and notes wala link open nhi ho rha hai sir

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

    Make a video for validation

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

    Happy Deewali

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

    hey thapa brother.

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

    yeah wali video samaj ni aya itna fast hogaya link cmd ma jo likha hy mongosh us k bard mera pass kuch ni aya or cmd ki wali vedio bhe ni mil rahi hy

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

    🙏👍

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

    Happy diwali all friends.

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

    ❤❤❤❤

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

    🎉

  • @Muhammadzubair-gb6lp
    @Muhammadzubair-gb6lp 8 месяцев назад

    what is the reason can anyonee tell

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

    but why i always database connection failed

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

    Apka source code ka link kaam nahi kar Raha hai

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

    Hi

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

    Bhai sab uppar uppar sikha rahe ho mongoose yeh sab first' time dekha main

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

    i am facing problem with database connectivity and have no clue where im gng wrong

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

      Mera bhi problem aa Raha hey wo database connection failed bata Raha hey
      Const URI = "mongodb " ye string Dali matlab Puri Dali fir bhi nahi aa Raha hey
      Apka kya problem aaraha hey

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

    Tried for 2 hours then mongodb connected successfully, thanks...brother

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

    Totale bast

  • @TokyoAccess-yp4bx
    @TokyoAccess-yp4bx 4 месяца назад +1

    sir vo mongodb ke crash course ke start ke 10-15 min me to apne bakchodi aur apna promotion kiya hai

  • @Muhammadzubair-gb6lp
    @Muhammadzubair-gb6lp 8 месяцев назад

    my connection is fail

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

    hello thapa yaddi deya hope you are doing well , kindly make short videos and dont promote your Old videos

  • @ManpreetSingh-bk7yc
    @ManpreetSingh-bk7yc 4 месяца назад

    be matlab ka confuse kar rahe sab yehe pe btau

  • @JaspreetSingh-mz8bd
    @JaspreetSingh-mz8bd 7 месяцев назад

    connection failed

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

      Without adding ip address you cannot connect the database and backend....
      Add ip address...

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

      ​@@siddharthoza2000IP address kaha Dale par wo string me kya
      Const URL = "" isme kya

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

    Ghanta world best course..

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

    Thapa bhai aap bolte ho what's App guys matlab hum Aapko What's App pe msg bheje? 😢 Hasna Mana hai bheyeo

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

    Please stop saying "awesome"..
    It's too too much ...

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

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

    in mongotab atlas,in network acess,my ip address status is inactive,how to make it active?? Please tell me

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

    great

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

    in mongotab atlas,in network acess,my ip address status is inactive,how to make it active?? Please tell me

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

    in mongotab atlas,in network acess,my ip address status is inactive,how to make it active?? Please tell me

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

    in mongotab atlas,in network acess,my ip address status is inactive,how to make it active?? Please tell me

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

    in mongotab atlas,in network acess,my ip address status is inactive,how to make it active?? Please tell me

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

    in mongotab atlas,in network acess,my ip address status is inactive,how to make it active?? Please tell me

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

    in mongotab atlas,in network acess,my ip address status is inactive,how to make it active?? Please tell me

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

    in mongotab atlas,in network acess,my ip address status is inactive,how to make it active?? Please tell me

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

    in mongotab atlas,in network acess,my ip address status is inactive,how to make it active?? Please tell me

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

      Go to database section in atlas mongodb and there comes a dialogue box of adding ip address box....just click on add ip address.... Or else you can try in the network section also there also comes the option of adding ip address....Without adding ip address you cannot connect the database and backend....