Тёмный

Rest API #5: Introduction to MongoDB & Mongoose || Connect Backend to Database 💻 

Thapa Technical
Подписаться 694 тыс.
Просмотров 66 тыс.
50% 1

Опубликовано:

 

15 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 79   
@web-dev.ashishk
@web-dev.ashishk 9 месяцев назад
your content is top notch in hindi Love you sir from UP 💌
@SheleshPratapSingh
@SheleshPratapSingh Год назад
it's not connecting please tell me why is it not connecting Node.js v18.16.0 [nodemon] app crashed - waiting for file changes before starting...
@alifhasanshahOfficial
@alifhasanshahOfficial Год назад
While connecting database you didn't handle the error. If there is any mistake how do you know that ?
@priyanshupatel02
@priyanshupatel02 11 месяцев назад
Hogya bhaiya I m happieee connected each and every servers
@pankajsuryavanshi8332
@pankajsuryavanshi8332 Год назад
Are u including microservices,AWS ,docker, kubernate in this series.
@NarendraHenryHarvin
@NarendraHenryHarvin Год назад
Hello Thapa sir can you tell me how to connect our database using ms sql server when i connect some issue facing like connect refuse and ssl please tell me how can be solve and tell me with how to connect mysql database
@Ajitcodermern
@Ajitcodermern Год назад
Sir my question.Register fome to user and send data using two database used condition is normal data save mongoose and image or video AWS S3 bucket Sir please help me
@sketchcreativity7465
@sketchcreativity7465 Год назад
I'm confused which backend should I do ?
@imranonthenet
@imranonthenet 18 дней назад
useNewUrlParser is a deprecated option: useNewUrlParser has no effect since Node.js Driver version 4.0.0
@bollywoodmusic125-i3t
@bollywoodmusic125-i3t Год назад
Jorda bhai = video ma khabar padi Nodejs = playlist ma samjayou pane khabar mate pade
@abdur786_
@abdur786_ Год назад
It's going to very interesting series....thank you thapa bhaiya...♥️
@balajikamble9067
@balajikamble9067 Год назад
This is very very very very very interesting series.thanks thapa........
@TrusteestDesiChhora
@TrusteestDesiChhora 9 месяцев назад
Thank you so much sir
@ashish421990
@ashish421990 2 месяца назад
forget to keep database name & password , how to get now ?...Please help
@tusharanand8501
@tusharanand8501 Год назад
Thankyou sir for this
@MuhammadHasan-j3u
@MuhammadHasan-j3u Год назад
g bhai hogaya connect thanks from pakistan
@KServer8850
@KServer8850 Год назад
Konsi theme use karte ho 🙏🙏
@vaishnomatabhaktamandali2000
Hi Thapa aaj phirse mai👊🏻😂
@tejas5674
@tejas5674 Год назад
Please share how u customized your terminal and upload next video we are waiting ♥️
@Vick-developer
@Vick-developer Год назад
I am facing some problems when I make connection with the mongo cluster
@mrharshad2000
@mrharshad2000 Год назад
MongoParseError: mongodb+srv URI cannot have port number yah error kyo mill raha hai
@probinbhowmick4595
@probinbhowmick4595 Год назад
apko database ka nam kaha se mila?
@only4you729
@only4you729 Год назад
Connected to DB, but deprecation warning aa rha hai
@swagatamsinha3621
@swagatamsinha3621 Год назад
facing problem in creating database in compass using node in vs code
@paieu
@paieu Год назад
Thapa come to Nepal. You are nepali blood. speak Nepali then only i suscribe you!!
@VishalVishal-lr9ii
@VishalVishal-lr9ii 10 месяцев назад
no source code available for the REST API
@VirenNegi1
@VirenNegi1 Год назад
show error when i run the code [nodemon] app crashed - waiting for file changes before starting...
@srahulb6
@srahulb6 5 месяцев назад
I'm facing same error
@welcometonature6510
@welcometonature6510 7 месяцев назад
Bro you are just awesome 👌
@rushziza5770
@rushziza5770 Год назад
Sir kindly tell us about images uploading on data base or how to make image ulr so that we can put that link into API
@SONUKASHYAP
@SONUKASHYAP Год назад
send me email id bro. i will send you goggle meet link for help
@aamirmir9080
@aamirmir9080 Год назад
Thapa Sir You have already made backend course then why you again make videos of backend
@hamzaCodex
@hamzaCodex Год назад
This time he is creating Backend with realTimeProject
@aamirmir9080
@aamirmir9080 Год назад
@@hamzaCodex which project
@CS_HimanshuVishwakarma
@CS_HimanshuVishwakarma 6 месяцев назад
Bhai ye cutles q use kar rha he confuse hogya
@ShubhamMudgalVlogs
@ShubhamMudgalVlogs Год назад
Please sir testbook ka quiz app banake batao using html, css, js, bootstrap
@jesussheepakash9289
@jesussheepakash9289 Год назад
excellent video
@k.ashutoshbaitharu3964
@k.ashutoshbaitharu3964 Год назад
Thank you so much!
@AllInOne-vz3cm
@AllInOne-vz3cm 3 месяца назад
great video
@AniketChougule-th5tx
@AniketChougule-th5tx Год назад
Bhai, abhi nodejs with mysql ki bhi playlist bana do
@SudoersonRedmi
@SudoersonRedmi 6 месяцев назад
Where is the source code link?
@royaljkboss1185
@royaljkboss1185 Год назад
3 youtuber ki video dek chukaa hu lekin ye moongoes mere mongo se abhi tak connect nahi huaa 😔 ye duniya koi help nahi karta god ko chod ke mere jo dost website benate vo bhi meri help nahi karte but koi problem meri hai to soulution bhi me hi keruga niche vali duniya sath de to kya huaa vo begwan to mere sath hai me aage bedta rehuga hare krishna
@rashidtech12.0
@rashidtech12.0 Год назад
bro make a vedio on admin panel of express js
@anasdaar9226
@anasdaar9226 Год назад
Kindly explain how to connect two mongodb schemas with post route?
@SONUKASHYAP
@SONUKASHYAP Год назад
send me your email. i will send you google meet link . i can solve your problem
@webPro_faizan
@webPro_faizan Год назад
Awesome 😎
@focusstudy4719
@focusstudy4719 9 месяцев назад
Node.js v18.17.1 [nodemon] app crashed - waiting for file changes before starting... mera to ye error resolve nahi ho raha . bekar hai kisi aur ki dekho bhai
@rmcreation8657
@rmcreation8657 7 месяцев назад
// Option 1: Move definition to the top const express = require('express'); const app = express(); // Other imports (if any) // Define products_routes here (before app.use) const products_routes = require('./products_routes'); // Assuming products_routes is in a separate file app.use('/products', products_routes); // Other app configuration code app.listen(3000, () => { console.log('Server listening on port 3000'); }); use link this u have done some mistake i thing
@sahilarora7419
@sahilarora7419 Год назад
theme name?
@only4you729
@only4you729 Год назад
6th video Q hide kiye huye hai sir Usko v public kijiye
@prathamparikh4430
@prathamparikh4430 Год назад
Hello thapa bhai
@mehandilone9533
@mehandilone9533 3 месяца назад
Day 5 completed
@musicascade4408
@musicascade4408 Год назад
bestt best best
@ashishkumar-pm9tr
@ashishkumar-pm9tr 9 месяцев назад
typeerror: mongoose.connect is not a function
@kalpanaaryal2624
@kalpanaaryal2624 Год назад
Authentication failed
@bhookhad_recipes
@bhookhad_recipes 10 дней назад
Dev meaning
@vivekyadav6543
@vivekyadav6543 Год назад
Source code link please
@patelronak153
@patelronak153 Год назад
🙌🚀❤
@QasimAli-cc7rq
@QasimAli-cc7rq Год назад
//solution of issue while connecting to MongoDB I just had this problem knowing that I was using the correct username, password, and DBname. I tried to change the password for the db user to double-check, but it still didn't work. Instead, I created a new user, gave the user admin role, set the password, etc, and then used that new user and password (same dbname) for the connection, which worked. I don't know exactly what the issue was, but hoping it can help some of you save some time :) #copied
@RoogleBro
@RoogleBro Год назад
bro can you help me out I'm getting same error it's not resolving.
@devilfrost9491
@devilfrost9491 Год назад
Require function error
@codewithown9835
@codewithown9835 Год назад
Sir apne apne html form wale video me mongodb se connection to kiya hi nhi hai to usme data insert kaise ho raha hai. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-XZiFBlfluZk.html Is wale video me.
@rishiraj2548
@rishiraj2548 Год назад
🙏💯💯
@ranveeryadav1544
@ranveeryadav1544 Год назад
how solve it MongoAPIError: URI must include hostname, domain name, and tld at resolveSRVRecord (D:\intern\RVAPI ode_modules\mongodb\lib\connection_string.js:37:15) at MongoClient._connect (D:\intern\RVAPI ode_modules\mongodb\lib\mongo_client.js:140:74) at MongoClient.connect (D:\intern\RVAPI ode_modules\mongodb\lib\mongo_client.js:119:40) at _createMongoClient (D:\intern\RVAPI ode_modules\mongoose\lib\connection.js:895:16) at NativeConnection.openUri (D:\intern\RVAPI ode_modules\mongoose\lib\connection.js:742:29) at Mongoose.connect (D:\intern\RVAPI ode_modules\mongoose\lib\index.js:406:15) at connectDB (D:\intern\RVAPI\db\connect.js:10:30) at start (D:\intern\RVAPI\app.js:21:15) at Object. (D:\intern\RVAPI\app.js:31:5) at Module._compile (node:internal/modules/cjs/loader:1149:14) { [Symbol(errorLabels)]: Set(0) {}
@itsmemebro
@itsmemebro Год назад
//when it is on it give me a error // await connectDB(); app.listen(PORT, () => { console.log(`${PORT} Yes, I am Connected`); }); } catch (error) { console.log(error); } }; start();
@itsmemebro
@itsmemebro Год назад
mera await connectDB ko commentout karne se error solve ho ja raha hai
@some.generic.username5254
@some.generic.username5254 8 месяцев назад
@@itsmemebro but usse error fix hota hai , issue solve nahi hota,tujhe kabhi to connect karna hi hai to await ko comment karke nahi chalega
@umairbashir8994
@umairbashir8994 Год назад
below is more simple way to connect server with db. You only need to add two lines of codes and add one file name .env and paste your string into it. const dotenv = require("dotenv").config() const express = require("express"); const app = express(); const mongoose = require("mongoose"); const PORT = process.env.PORT || 5000 app.get('/', (req, res) => { res.send('hello world') }); mongoose .connect(process.env.MONGO_URI) .then(() => { app.listen(PORT, (() => { console.log(`server running on port ${PORT}`); })) }) .catch((error) => console.log(error));
@zohaib-rehman-official
@zohaib-rehman-official Год назад
plz help me to connect my baack end to my mongodb
@9876rabi123456789
@9876rabi123456789 Год назад
First
@kashafkhalid8306
@kashafkhalid8306 Год назад
1st
@AnilKumar-mu3eq
@AnilKumar-mu3eq Год назад
How to Remove this waring from Terminal Please -> (node:19516) [MONGOOSE] DeprecationWarning: Mongoose: the `strictQuery` option will be switched back to `false` by default in Mongoose 7. Use `mongoose.set('strictQuery', false);` if you want to prepare for this change. Or use `mongoose.set('strictQuery', true);` to suppress this warning. (Use `node --trace-deprecation ...` to show where the warning was created)
@abdur786_
@abdur786_ Год назад
In connection.js file.....write this line... mongoose.set('strictQuery ', true)
@vivekyadav6543
@vivekyadav6543 Год назад
@@abdur786_ bhai source code ? kha milega
@alkasinha1857
@alkasinha1857 Год назад
Getting below error when try to connect " const connectDB = require("./db/connect")" C:\myapp\demoapi ode_modules\mongodb\lib\operations\add_user.js:16 this.options = options ?? {}; ^ SyntaxError: Unexpected token '?' at wrapSafe (internal/modules/cjs/loader.js:915:16) at Module._compile (internal/modules/cjs/loader.js:963:27) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) at Module.load (internal/modules/cjs/loader.js:863:32) at Function.Module._load (internal/modules/cjs/loader.js:708:14) at Module.require (internal/modules/cjs/loader.js:887:19) at require (internal/modules/cjs/helpers.js:74:18) at Object. (C:\myapp\demoapi ode_modules\mongodb\lib\admin.js:4:20) at Module._compile (internal/modules/cjs/loader.js:999:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) [nodemon] app crashed - waiting for file changes before starting...
@ThinkVerse27
@ThinkVerse27 Год назад
What's ur explanation yr nothing to understanding 😂 @Codewithharry is best
Далее
Connecting NodeJS with MongoDB | Mongoose + Express
19:18
Part 5. Roblox trend☠️
00:13
Просмотров 3,1 млн
Learn Node.js & Express with Project in 2 Hours
1:42:53
Просмотров 557 тыс.
How to connect database in MERN with debugging
40:53
Просмотров 141 тыс.