Model View Controller in NodeJS | MVC Pattern

  Рет қаралды 74,474

Piyush Garg

Piyush Garg

Жыл бұрын

Hey Everyone, In this video, we are going to understand and refactor our code according to MVC Pattern. MVC Stands for Model View Controller
► Complete Full Stack Web Developer RoadMap 2023: • Complete Full Stack We...
► Master NodeJS Playlist: • Master NodeJS
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. It allows developers to run JavaScript on the server side, creating server-side applications with JavaScript.
► My Website: www.piyushgarg.dev
My Gears
► My Girlfriend: amzn.to/3WD6FRp
► Apple MacBook Laptop: amzn.to/3WBJgQn
► Anker USB Hub: amzn.to/3GhZSr0
► Blue Yeti Microphone: amzn.to/3YKZ9FT
► External 27” Monitor: amzn.to/3Vp3xaO
► Logitech MK295 Wireless Keyboard and Mouse: amzn.to/3DuL1bB
► Seagate Expansion 1TB External HDD: amzn.to/3QMm5Q8
► Tripod: amzn.to/3S4OwK4
► Ring Light: amzn.to/3YLf8DR
Disclaimer: All the links above are affiliate links.
Social Links
► Twitter - / piyushgarg_dev
► LinkedIn - / piyushgarg195
Video Titles
MVC Pattern
What is Model View Controller
MVC Pattern in NodeJS
Tags
#nodejs #javascript #expressjs #mongodb #mernstack #developer #api #https #server #javascriptinhindi #webdevelopment #webapp #realtimeapp #serverside #nonblockingio #tech

Пікірлер: 97
@JeetendraKumar-wk8re
@JeetendraKumar-wk8re 5 ай бұрын
no faltu baat, only padhayi ......good work Piyush bhaiya
@souravkumar961
@souravkumar961 Ай бұрын
It took me more then 4 hours to complete this lecture, and the lecture is about of 20 min. Thanks for this amazing lecture
@sureshbhatt363
@sureshbhatt363 10 ай бұрын
Million dollar tutorial for beginners who have come this far. Thanks Piyush
@yashu1703
@yashu1703 5 ай бұрын
Bhaisahab ye kuch jyada nhi ho gaya kya?😂
@Ashutosh7e
@Ashutosh7e Жыл бұрын
Man you explained so well, Cleared all my doubts, your video was to the point and accurate 🚀 usually i dont comment on videos, but this one deserves it, Great.
@faizalammusic
@faizalammusic 5 ай бұрын
Sar ke upar se jaraha h backend😭😭 However apne achha pdhaya, hats off to you bhai
@niharkumarsahoo8227
@niharkumarsahoo8227 6 күн бұрын
you are doing a great job , this thing is not even in the paid classes .. thank u so much.. 😇
@sarveshgaynar3295
@sarveshgaynar3295 10 ай бұрын
love your teaching I was very confused to understand mvc pattern
@sarfarazansari9053
@sarfarazansari9053 6 ай бұрын
Fantastic... Agreed million dollar tutorial... quick and to the point...and absolutely professional.. Thank you for this....
@VickTechPro
@VickTechPro 2 ай бұрын
You are literally the best Hindi KZbin teacher out there.
@mazedislam8740
@mazedislam8740 Жыл бұрын
Just awesome brother. I love the way you teach. Just carry on. Waiting for many many exciting videos ❤❤❤
@shubhamsonawane967
@shubhamsonawane967 10 ай бұрын
perfect explaination!!!!!!!!! keep uploading such content.
@sumirandahal76
@sumirandahal76 4 ай бұрын
thanks brother, i learned so much and understood mvc pattern
@CodeLife05
@CodeLife05 6 ай бұрын
what a amazing folder structure sir ❤
@poojaganvir5631
@poojaganvir5631 5 ай бұрын
Thank you so much , great explanation👍
@techiehsr
@techiehsr 10 ай бұрын
Nice explanation. Thanks!
@haarshpatel3972
@haarshpatel3972 10 ай бұрын
Wow! Simply amazing
@tuseefahmed8625
@tuseefahmed8625 25 күн бұрын
I've watched so many videos for node js but I didn't understand anything but this is best ever playlist
@muizshahid3929
@muizshahid3929 24 күн бұрын
bro ur so pro i never seen this professional and detailed playlist of node js luv u ❤😘
@DeepThinking0710
@DeepThinking0710 3 ай бұрын
thanks piyush bro for making this video
@pallabdandapat1866
@pallabdandapat1866 Ай бұрын
Great Explanation sir !!!😍😍 Thanks a lot
@namannema3349
@namannema3349 Ай бұрын
maza aagayi bhaiya top notch video
@Ari-pq4db
@Ari-pq4db Ай бұрын
Thank you very much sir , You are helping me a ton ❤🔥
@yashu1703
@yashu1703 5 ай бұрын
Best video Piyush brother..btw we can also add .env file to store mongo url and PORT
@tuseefahmed8625
@tuseefahmed8625 25 күн бұрын
Best Playlist for node js ❤❤
@casinarro
@casinarro 2 ай бұрын
SUPPEERRRBBBBBBB EXPLANATION.... CANNOT GET BETTER THAN THIS !!!!!!!
@Eswar.fullstackdeveloper
@Eswar.fullstackdeveloper Ай бұрын
brilliant explanation bhai
@ibntofajjal
@ibntofajjal Жыл бұрын
AWESOME BUDDY
@shubhamgupta-bl1tr
@shubhamgupta-bl1tr Жыл бұрын
Sir please cover advanced concepts of node js like streaming, events emitters, cluster, child process, message queue, threads. Basic node js ke there are many videos, but the topic which I mentioned above no one explained in detail.
@shi-nee7966
@shi-nee7966 Жыл бұрын
agree
@datareport1582
@datareport1582 7 ай бұрын
awasome
@chandradhamii
@chandradhamii Жыл бұрын
Thanks 🌟
@prajwalm.s7976
@prajwalm.s7976 5 ай бұрын
Amazing
@ishfaqmaknoo
@ishfaqmaknoo 5 ай бұрын
It looked clean, but I was observing service layer is missing, and I guess Model should never interact directly with controller rather than getting through service layer.
@2ameridiem
@2ameridiem Ай бұрын
could you please elaborate?
@lovishduggal9064
@lovishduggal9064 11 ай бұрын
thankyou!!
@harshdevmurari007
@harshdevmurari007 15 күн бұрын
clear explanation
@developergourav
@developergourav Ай бұрын
THANKS MAN 💌
@SulavGhimireeee
@SulavGhimireeee 6 ай бұрын
Thanks Bro
@Chandraprakash-kx4ic
@Chandraprakash-kx4ic Жыл бұрын
Thanku Bro...Well explained can you let me know which extension you used for these beautiful file icons
@web-banda
@web-banda 10 ай бұрын
material icon
@awesomeguy6427
@awesomeguy6427 Жыл бұрын
Piyush can u please make a project based on exam portal or such having ADMIN Dashboard or such using all these concepts... it'll be amazing.
@Ajmal_Hossain
@Ajmal_Hossain 5 ай бұрын
You segregated the code in a very good way. So useful tutorial indeed.
@snehapatidar3122
@snehapatidar3122 Ай бұрын
best nodejs playlist
@studyplans3783
@studyplans3783 Ай бұрын
bilkulll
@saarza9991
@saarza9991 Күн бұрын
Mere ex ka bhi naam sneha tha. Usne mujhe dhoka diya. Aap kisi apne ko dhoka mat dena plz 🙏
@kumarvansh007
@kumarvansh007 3 ай бұрын
greatttt
@harshithp2068
@harshithp2068 Ай бұрын
Hey piyush what’s the use of creating views folder without having files in it.
@mrxpandaplays2185
@mrxpandaplays2185 Ай бұрын
hi piyush i am having an issue i am a flutter dev trying to expand my skills i am following your playlist and everthing working fine but as soon as i call api for flutter nothing showing up from localhost, but from chrome i am having data from server in nodejs, the funtions of flutter handling api are also working fine but not from nodejs how can i solve this
@pradeepKumar-rf9qb
@pradeepKumar-rf9qb Жыл бұрын
just supab...
@dopaminesero6390
@dopaminesero6390 3 ай бұрын
ye kaunsa extension hai jisse ye vs code mai beautiful folders ban rhe hain?
@vinitjain7
@vinitjain7 9 ай бұрын
bro, repositories ka kya use hai ? mene ek repo dekha usme repositories common/errors and common/utils inpe ek video bana do plz.
@rounakbhattacherjee5288
@rounakbhattacherjee5288 9 ай бұрын
import export game is really difficult, i m going full mad😒😒
@bhupenderkumar9508
@bhupenderkumar9508 6 ай бұрын
Agree++
@Ayush37262
@Ayush37262 5 ай бұрын
Then you should learn React 😂😂
@yashu1703
@yashu1703 5 ай бұрын
​@@Ayush37262 yeah just one context API project is enough 😂😅
@DTALKS01
@DTALKS01 2 ай бұрын
Isme kya hard hai , jjis bhi cheez ki need ho usko I port karlo and jo kahi aur use karna ho usko export kardo....see chai aur code
@Ayush37262
@Ayush37262 2 ай бұрын
@@DTALKS01 chai aur code is Trash
@baljitsinghchahal4058
@baljitsinghchahal4058 Жыл бұрын
👍
@jitumaurya13
@jitumaurya13 18 күн бұрын
Best node js
@HikeWithAK
@HikeWithAK Жыл бұрын
Bhai please kya yeh bta skte ho ki url se controller ka name kaise hataye
@mazharniaz6840
@mazharniaz6840 Ай бұрын
The Gem 🔷
@1212AnurajKharat
@1212AnurajKharat 7 күн бұрын
i have getting error user.find({}) is not funstion
@JessuKumar
@JessuKumar Ай бұрын
Now this is some next level shit 😮
@bunnytheweebster
@bunnytheweebster 6 ай бұрын
Vid - 20✅
@nakulattrey2003
@nakulattrey2003 4 ай бұрын
Where to get all the code??????? Please tell asap.
@DevZen__
@DevZen__ 7 ай бұрын
Can you please provide us the source code of this tutorial.
@ShivendraPratap524
@ShivendraPratap524 Жыл бұрын
sir ek doubt hai , connection.js me aapne function async to bna diya but andar await kyu use nahi kiya directely return kar diya tha ?? samajh nahi aaya
@piyushgargdev
@piyushgargdev Жыл бұрын
You are right, we can remove async keyword there. Good Catch :)
@ShivendraPratap524
@ShivendraPratap524 Жыл бұрын
@@piyushgargdev but actually when I removed async, it displayed a suggestion to make it async (quick fix).. So when I clicked on it , it converted it to async await format
@ashishdesai1977
@ashishdesai1977 10 ай бұрын
where is view files , mensioned mvc?
@vishalmishra4731
@vishalmishra4731 7 ай бұрын
mai jab create ya update ki API call kr raha hu, tab mujhe res.body undefined mil raha hai, aysa kyu?
@bhupenderkumar9508
@bhupenderkumar9508 6 ай бұрын
bro always put the code . so you can get answer as fast as possible
@20_omkar_kadu57
@20_omkar_kadu57 Жыл бұрын
update pe lastname bydefault changed he vo kaise solve karu
@piyushgargdev
@piyushgargdev Жыл бұрын
Thoda aur ache se explain karo please! 😅
@bhavnishpatel9903
@bhavnishpatel9903 11 күн бұрын
You wan to learn next level nodejs so this covered in this Series
@codingwithsam4992
@codingwithsam4992 5 ай бұрын
Hey, github link chahiye iska.
@madireddysainitin5576
@madireddysainitin5576 8 ай бұрын
Can i get the source code
@madireddysainitin5576
@madireddysainitin5576 8 ай бұрын
Where is the Source code available
@Akash-nh8pc
@Akash-nh8pc 9 ай бұрын
Bhaiya.. codes v de do... git hub
@heydude1551
@heydude1551 9 сағат бұрын
Why it took me 2.5 hours to complete it 😢
@JatinSharma-hw7hw
@JatinSharma-hw7hw Жыл бұрын
I experienced how to organically subscribe to someone
@shelendrasingh2301
@shelendrasingh2301 5 ай бұрын
sir please new project se start kiya kro aap ushi project me karte hai to utna samaj nhi aata please
@user-lw8bp4de3i
@user-lw8bp4de3i 4 ай бұрын
Please provide code link 🔗
@prajwalm.s7976
@prajwalm.s7976 6 ай бұрын
Where is the source code?
@technologygadget6570
@technologygadget6570 6 ай бұрын
18:00 Summary
@Kabirrsaini07
@Kabirrsaini07 2 ай бұрын
sir it would be better if you post code too
@BOSS-fc9lj
@BOSS-fc9lj 6 ай бұрын
hey piyush could you provide all this code in github link ?
@BOSS-fc9lj
@BOSS-fc9lj 6 ай бұрын
does any one have this full code kindly give github link!!!
@user-lw8bp4de3i
@user-lw8bp4de3i 4 ай бұрын
Too complicated 🥲🥲
@darkknight-rp2ry
@darkknight-rp2ry Ай бұрын
Mvc sucks .i need more practice
@sourabhrathourr
@sourabhrathourr 6 ай бұрын
Man you explained so well, Cleared all my doubts, your video was to the point and accurate 🚀 usually i dont comment on videos, but this one deserves it, Great.
Create a Custom URL Shortener using Node.JS and MongoDB
23:10
Piyush Garg
Рет қаралды 80 М.
Learn MVC Pattern with ExpressJS and NodeJS - Tutorial Beginner
10:10
Дибала против вратаря Легенды
00:33
Mr. Oleynik
Рет қаралды 4,5 МЛН
Sigma Girl Past #funny #sigma #viral
00:20
CRAZY GREAPA
Рет қаралды 30 МЛН
Was ist im Eis versteckt? 🧊 Coole Winter-Gadgets von Amazon
00:37
SMOL German
Рет қаралды 30 МЛН
What is Nginx?
11:45
Piyush Garg
Рет қаралды 49 М.
Bluetooth Serial JavaScript ESP32 { www.turmandreams.es }
1:09
Can you hang a bottle without a counterweight ?#theoryofphysics #anubhavsir #counterweight #gwalior
1:00
Theory_of_Physics by Er. Anubhav_Shrivastava
Рет қаралды 38 МЛН
What is REST API?
15:41
Piyush Garg
Рет қаралды 78 М.
Getting Started with Express and NodeJS
11:28
Piyush Garg
Рет қаралды 53 М.
What is WebSocket? Why is it used & how is it different from HTTP?
15:32
Connecting NodeJS with MongoDB | Mongoose + Express
19:18
Piyush Garg
Рет қаралды 89 М.
Дибала против вратаря Легенды
00:33
Mr. Oleynik
Рет қаралды 4,5 МЛН