Brother, here in Brazil I really needed to learn this connection, but here it is very difficult to find someone to explain how to make the connection, I'm glad I found your video. For me it was a great class, you gained another follower.
Thanks very much for making this video, I was stuck in some tutorials that were not working, I tried this and it WORKED, amazing job, also I like this types of video where you don't talk and just have writting so you can follow along easier
@@newagecoder5417 I am actually working on a project and will need to do the steps right that come after this. If that's something you would like to do. Keep it up!
Bro. I was having an issue with installing this for over 6 hours. I watched videos from even MongoDB themselves and couldn’t solve the issue. I just decided to give your video a try and it worked immediately! You’ve earned yourself a subscriber and constant video watcher! Thanks for releasing this video. I am honestly happy I found you. Cheers!
@@newagecoder5417 yeah. I’m finding it hard to use checkboxes in react. If you could make a video where you use checkboxes and display what was chosen on a single page, that’d be cool
Thank you so much for this video. Ive been trying to connect the atlas to my project for about 2 hours now and I couldnt make it work, but thanks to you I could!!!! Omg I'm so happy! thank you thank you thank you thank you!!!!
can someone paste the code :)
Sure
@@newagecoder5417 code ?and if you have the docker file for this ?
const express = require("express");
const app = express();
const mongoose = require("mongoose");
// Database
const database = (module.exports = () => {
const connectionParams = {
useNewUrlParser: true,
useUnifiedTopology: true,
};
try {
mongoose.connect(
"mongodb+srv://username:password@cluster0.0ehgx.mongodb.net/mongodb?retryWrites=true&w=majority",
connectionParams
);
console.log("Database connected succesfully");
} catch (error) {
console.log(error);
console.log("Database connection failed");
}
});
database();
app.listen(3000, () => {
console.log("Server is running on port 3000");
});
@@amritapattnaik3345 sorry but I don't have it
@@amritapattnaik3345 hmm sorry u need to use your let me edit it,
Use your BCS It will not work
Brother, here in Brazil I really needed to learn this connection, but here it is very difficult to find someone to explain how to make the connection, I'm glad I found your video.
For me it was a great class, you gained another follower.
thank u soo much bro love u from india ❤❤
Thanks very much for making this video, I was stuck in some tutorials that were not working, I tried this and it WORKED, amazing job, also I like this types of video where you don't talk and just have writting so you can follow along easier
Thank you soo much sir. Can you recommend some ideas for more videos
@@newagecoder5417 I am actually working on a project and will need to do the steps right that come after this. If that's something you would like to do. Keep it up!
Bro. I was having an issue with installing this for over 6 hours. I watched videos from even MongoDB themselves and couldn’t solve the issue. I just decided to give your video a try and it worked immediately! You’ve earned yourself a subscriber and constant video watcher! Thanks for releasing this video. I am honestly happy I found you.
Cheers!
Thank u so so so much bro ❤️ for your support And you have given me a lot of motivation 🙂
@@newagecoder5417 🔥
@@raveclipsbypayrave4578 Hi bro hope you are fine I need ur help. Can you help me make a video 📹. Are you facing any errors which I can help you?
@@newagecoder5417 yeah. I’m finding it hard to use checkboxes in react.
If you could make a video where you use checkboxes and display what was chosen on a single page, that’d be cool
@@raveclipsbypayrave4578 awesome bro video coming soon
thanks alot you saved me
Thank you so much for this video. Ive been trying to connect the atlas to my project for about 2 hours now and I couldnt make it work, but thanks to you I could!!!! Omg I'm so happy! thank you thank you thank you thank you!!!!
🎉 congratulations bow you can start your work
thank you so much bro, u already got a new subscriber here
🧡 thank you arman I am really glad that this video helped you
thanks man really helped me here
I am glad that it helped 🥰
Thanks bro. i rlly need a short video of this
thanks, your videos really helped me
Thank you for this video, New Age Coder. It really helped!😀😁
Thank you ❤️
great work
Thanks bro and what snippets and themes are u using, they seems awesome
Thanks Man !
💝
Thank you! It helped me to solve the problem
Welcome sir
Thanks a lot!!
Buen video , solucion facil y rapida👌👍
Thank you 💖😌
Thanks
THANK YOUUUUUUUUUUUUUUUUUUUUUUUUUU
bro it's showing me error by saying database connection is failed
Hi Sahil, did you paste the password and username correctly for Moongodb connection as shown in the 13th line please check and let me know
what extension are you using for the autocompletion?
Github copilot
🙏
Showing error in connection of ip address,
Instead of typing in Notepad you can use free video apps such as DaVinci Resolve and add text on the video...
Thank u for your opinion sir, I will definitely do it
distracted constantly by notepad
const express = require("express");
const app = express();
const mongoose = require("mongoose");
// Database
const database = (module.exports = () => {
const connectionParams = {
useNewUrlParser: true,
useUnifiedTopology: true,
};
try {
mongoose.connect(
"mongodb+srv://username:password@cluster0.0ehgx.mongodb.net/mongodb?retryWrites=true&w=majority",
connectionParams
);
console.log("Database connected succesfully");
} catch (error) {
console.log(error);
console.log("Database connection failed");
}
});
database();
app.listen(3000, () => {
console.log("Server is running on port 3000");
});
take this code and paste it on your file and change the username and password thank u
@@newagecoder5417 and I was so frustrated because of that I watched your video and still get nothing. So I wrote that.🙂🙂
@@sanchalisharma9149 No problem, is it working now?
@@newagecoder5417 unfortunately no . I have put the whole URL directly . .env is not working.