Express JS Tutorial #17 - Connect to MongoDB using Mongoose | Expressjs Tutorial For Beginners

preview_player
Показать описание
Learn expressjs tutorial for beginners, node expressjs tutorial, expressjs tutorial, express node js tutorial, express js tutorial 2020, express node js mongodb, express node js rest api, express node js tutorial for beginners, express node tutorial, express node mysql, express node js project, express node js mysql, express nodemon, express js crash course, express js project, express js api, expressjs tutorial for beginners, node express, node express mongodb tutorial, node express mysql, node express api

Node express project, node express mongodb, node express typescript, node express rest api, node express react, express js api, express js app, express js api tutorial, express js advanced, express js and mongodb tutorial, express js tutorial youtube, tutorial express js, express js mongodb, express js explained, express js mysql, express js routing, express js full course, express js routes tutorial, express js route params, express js routes in separate file, express js router example, express js route with parameter, express js mongodb crud, express js mongodb, express js mongodb insert, express js mongoose example, express js mongoose, express js mongoose tutorial, express js database tutorial, express js database

MongoDB Tutorial For Beginners

ExpressJS Tutorial For Beginners Playlist

ExpressJS Tutorial For Beginners #1

ExpressJS Tutorial For Beginners #2

ExpressJS Tutorial For Beginners #3

ExpressJS Tutorial For Beginners #4

ExpressJS Tutorial For Beginners #5

ExpressJS Tutorial For Beginners #6

ExpressJS Tutorial For Beginners #7

ExpressJS Tutorial For Beginners #8

ExpressJS Tutorial For Beginners #9

ExpressJS Tutorial For Beginners #10

ExpressJS Tutorial For Beginners #11

ExpressJS Tutorial For Beginners #12

ExpressJS Tutorial For Beginners #13

ExpressJS Tutorial For Beginners #14

ExpressJS Tutorial For Beginners # 17
Рекомендации по теме
Комментарии
Автор

Hi, Sir. Eagerly waiting forever next videos of express and mongoDB series. I Learned a lot from both series. Thank you Sir.

Shakeel
Автор

Hii sri, to avoid such error, follow the below steps
1. npm install config
2 mkdir config
3. go to config/default.json
{
"mongoURI":

}
4. go to config/db.js
// paste the following

const mongoose =require('mongoose');
const config = require('config') ;
const db = config.get('mongoURI');

const connectDB = async ()=>{
try{
await mongoose.connect(db, { useUnifiedTopology: true, useNewUrlParser: true, useCreateIndex: true, useFindAndModify:false});
console.log('MongoDB Connected

}catch(err){
console.error(err.message);
//Exit process with Failure
process.exit(1);

}
}

module.exports =connectDB;

4. go to index.js file

const connectDB = require('./config/db');

// @making mongo connection

connectDB();

5. done

Manishkumar-plkt
Автор

You are amazing my friend. Thank you so much! Merry Christmas

amanuellebassi
Автор

Hello sir it's your extremely grateful job this is helpful for me and I am waiting for a live project...
Thank you sir.

ganeshyandigeri
Автор

Very nice tutorial sir...plz create one simple website using mean stack

madhankumar
Автор

Hai sir, when u will upload 18 to 31 express js tutorial....

madhankumar
Автор

Sir please make videos on Express generator using my SQL database create a real time project crud operations

Giri_Girish
Автор

HI sir,
If its possible can you please explain this video on express generator

phanindrakumarkondeti
Автор

Sir we connect mongodb with API (get, post, put, delete) and perform actions.. please sir..

jiteshjoshisde
Автор

Hello sir, where can i see the parts 18 to parts 23 of this series?

sonnysonny
Автор

SyntaxError: Unexpected token am getting an error anyone help

RakhinyaReddySunkara
Автор

bro you were teacher very nice but be louder man, cant listen you properly

Vi