Model View Controller in NodeJS | MVC Pattern

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ม.ค. 2023
  • 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

ความคิดเห็น • 108

  • @JeetendraKumar-wk8re
    @JeetendraKumar-wk8re 6 หลายเดือนก่อน +25

    no faltu baat, only padhayi ......good work Piyush bhaiya

  • @sureshbhatt363
    @sureshbhatt363 11 หลายเดือนก่อน +24

    Million dollar tutorial for beginners who have come this far. Thanks Piyush

    • @yashu1703
      @yashu1703 5 หลายเดือนก่อน +3

      Bhaisahab ye kuch jyada nhi ho gaya kya?😂

  • @faizalammusic
    @faizalammusic 5 หลายเดือนก่อน +10

    Sar ke upar se jaraha h backend😭😭
    However apne achha pdhaya, hats off to you bhai

  • @souravkumar961
    @souravkumar961 2 หลายเดือนก่อน +8

    It took me more then 4 hours to complete this lecture, and the lecture is about of 20 min. Thanks for this amazing lecture

    • @shivamchaturvedi4183
      @shivamchaturvedi4183 17 วันที่ผ่านมา

      M still stuck cause...including userRouter crashing the app.

  • @Ashutosh7e
    @Ashutosh7e ปีที่แล้ว +10

    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.

  • @niharkumarsahoo8227
    @niharkumarsahoo8227 25 วันที่ผ่านมา +1

    you are doing a great job , this thing is not even in the paid classes .. thank u so much..
    😇

  • @sarveshgaynar3295
    @sarveshgaynar3295 10 หลายเดือนก่อน +3

    love your teaching I was very confused to understand mvc pattern

  • @sarfarazansari9053
    @sarfarazansari9053 6 หลายเดือนก่อน +1

    Fantastic... Agreed million dollar tutorial... quick and to the point...and absolutely professional.. Thank you for this....

  • @mazedislam8740
    @mazedislam8740 ปีที่แล้ว +1

    Just awesome brother. I love the way you teach. Just carry on. Waiting for many many exciting videos ❤❤❤

  • @VickTechPro
    @VickTechPro 3 หลายเดือนก่อน +2

    You are literally the best Hindi TH-cam teacher out there.

  • @sumirandahal76
    @sumirandahal76 5 หลายเดือนก่อน +1

    thanks brother, i learned so much and understood mvc pattern

  • @shubhamsonawane967
    @shubhamsonawane967 10 หลายเดือนก่อน +3

    perfect explaination!!!!!!!!! keep uploading such content.

  • @CodeLife05
    @CodeLife05 7 หลายเดือนก่อน

    what a amazing folder structure sir ❤

  • @haarshpatel3972
    @haarshpatel3972 11 หลายเดือนก่อน

    Wow! Simply amazing

  • @poojaganvir5631
    @poojaganvir5631 6 หลายเดือนก่อน

    Thank you so much , great explanation👍

  • @techiehsr
    @techiehsr 11 หลายเดือนก่อน

    Nice explanation. Thanks!

  • @namannema3349
    @namannema3349 2 หลายเดือนก่อน

    maza aagayi bhaiya top notch video

  • @DeepThinking0710
    @DeepThinking0710 4 หลายเดือนก่อน +1

    thanks piyush bro for making this video

  • @tuseefahmed8625
    @tuseefahmed8625 หลายเดือนก่อน

    I've watched so many videos for node js but I didn't understand anything but this is best ever playlist

  • @cod-phy1646
    @cod-phy1646 5 วันที่ผ่านมา

    huge respect for you bhaiya, top notch content

  • @muizshahid3929
    @muizshahid3929 หลายเดือนก่อน

    bro ur so pro i never seen this professional and detailed playlist of node js
    luv u ❤😘

  • @Ari-pq4db
    @Ari-pq4db 2 หลายเดือนก่อน

    Thank you very much sir , You are helping me a ton ❤🔥

  • @pallabdandapat1866
    @pallabdandapat1866 2 หลายเดือนก่อน +1

    Great Explanation sir !!!😍😍 Thanks a lot

  • @shaktisumantdas7997
    @shaktisumantdas7997 17 วันที่ผ่านมา

    This is best video on MVC controller as far as know. Thanks piyush for such amazing video

  • @casinarro
    @casinarro 3 หลายเดือนก่อน

    SUPPEERRRBBBBBBB EXPLANATION.... CANNOT GET BETTER THAN THIS !!!!!!!

  • @ibntofajjal
    @ibntofajjal ปีที่แล้ว

    AWESOME BUDDY

  • @tuseefahmed8625
    @tuseefahmed8625 หลายเดือนก่อน +1

    Best Playlist for node js ❤❤

  • @yashu1703
    @yashu1703 5 หลายเดือนก่อน +1

    Best video Piyush brother..btw we can also add .env file to store mongo url and PORT

  • @chandradhamii
    @chandradhamii ปีที่แล้ว +1

    Thanks 🌟

  • @snehapatidar3122
    @snehapatidar3122 หลายเดือนก่อน +4

    best nodejs playlist

    • @studyplans3783
      @studyplans3783 หลายเดือนก่อน

      bilkulll

    • @saarza9991
      @saarza9991 20 วันที่ผ่านมา

      Mere ex ka bhi naam sneha tha. Usne mujhe dhoka diya. Aap kisi apne ko dhoka mat dena plz 🙏

  • @prajwalm.s7976
    @prajwalm.s7976 6 หลายเดือนก่อน

    Amazing

  • @lovishduggal9064
    @lovishduggal9064 11 หลายเดือนก่อน +1

    thankyou!!

  • @Eswar.fullstackdeveloper
    @Eswar.fullstackdeveloper หลายเดือนก่อน +2

    brilliant explanation bhai

  • @developergourav
    @developergourav 2 หลายเดือนก่อน

    THANKS MAN 💌

  • @harshdevmurari007
    @harshdevmurari007 หลายเดือนก่อน

    clear explanation

  • @datareport1582
    @datareport1582 8 หลายเดือนก่อน +1

    awasome

  • @SulavGhimireeee
    @SulavGhimireeee 7 หลายเดือนก่อน +1

    Thanks Bro

  • @kumarvansh007
    @kumarvansh007 4 หลายเดือนก่อน

    greatttt

  • @pradeepKumar-rf9qb
    @pradeepKumar-rf9qb ปีที่แล้ว

    just supab...

  • @shubhamgupta-bl1tr
    @shubhamgupta-bl1tr ปีที่แล้ว +5

    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.

  • @ankitdhilpe3622
    @ankitdhilpe3622 11 วันที่ผ่านมา

    what is the extension you are using for folders icons ?

  • @Ajmal_Hossain
    @Ajmal_Hossain 6 หลายเดือนก่อน

    You segregated the code in a very good way. So useful tutorial indeed.

  • @ishfaqmaknoo
    @ishfaqmaknoo 6 หลายเดือนก่อน +3

    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 2 หลายเดือนก่อน

      could you please elaborate?

  • @harshithp2068
    @harshithp2068 2 หลายเดือนก่อน

    Hey piyush what’s the use of creating views folder without having files in it.

  • @jitumaurya13
    @jitumaurya13 หลายเดือนก่อน

    Best node js

  • @mrxpandaplays2185
    @mrxpandaplays2185 2 หลายเดือนก่อน

    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

  • @awesomeguy6427
    @awesomeguy6427 ปีที่แล้ว +5

    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.

  • @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 11 หลายเดือนก่อน

      material icon

  • @mazharniaz6840
    @mazharniaz6840 2 หลายเดือนก่อน

    The Gem 🔷

  • @dopaminesero6390
    @dopaminesero6390 3 หลายเดือนก่อน

    ye kaunsa extension hai jisse ye vs code mai beautiful folders ban rhe hain?

  • @talhaabbas4535
    @talhaabbas4535 11 วันที่ผ่านมา

    well explained. sir her video ka code share kr diya ky plz.

  • @JessuKumar
    @JessuKumar หลายเดือนก่อน

    Now this is some next level shit 😮

  • @baljitsinghchahal4058
    @baljitsinghchahal4058 ปีที่แล้ว

    👍

  • @HikeWithAK
    @HikeWithAK ปีที่แล้ว

    Bhai please kya yeh bta skte ho ki url se controller ka name kaise hataye

  • @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.

  • @arbabali1225
    @arbabali1225 7 วันที่ผ่านมา

    Which vs code theme is he using⁉

  • @rounakbhattacherjee5288
    @rounakbhattacherjee5288 10 หลายเดือนก่อน +20

    import export game is really difficult, i m going full mad😒😒

    • @bhupenderkumar9508
      @bhupenderkumar9508 7 หลายเดือนก่อน +3

      Agree++

    • @Ayush37262
      @Ayush37262 5 หลายเดือนก่อน +1

      Then you should learn React 😂😂

    • @yashu1703
      @yashu1703 5 หลายเดือนก่อน +3

      ​@@Ayush37262 yeah just one context API project is enough 😂😅

    • @DTALKS01
      @DTALKS01 3 หลายเดือนก่อน +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 3 หลายเดือนก่อน +1

      @@DTALKS01 chai aur code is Trash

  • @bunnytheweebster
    @bunnytheweebster 6 หลายเดือนก่อน

    Vid - 20✅

  • @ShivendraPratap524
    @ShivendraPratap524 ปีที่แล้ว +1

    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  ปีที่แล้ว +2

      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

  • @nakulattrey2003
    @nakulattrey2003 5 หลายเดือนก่อน

    Where to get all the code??????? Please tell asap.

  • @ashishdesai1977
    @ashishdesai1977 10 หลายเดือนก่อน

    where is view files , mensioned mvc?

  • @DevZen__
    @DevZen__ 8 หลายเดือนก่อน +1

    Can you please provide us the source code of this tutorial.

  • @bhavnishpatel9903
    @bhavnishpatel9903 หลายเดือนก่อน

    You wan to learn next level nodejs so this covered in this Series

  • @JatinSharma-hw7hw
    @JatinSharma-hw7hw ปีที่แล้ว

    I experienced how to organically subscribe to someone

  • @vishalmishra4731
    @vishalmishra4731 8 หลายเดือนก่อน

    mai jab create ya update ki API call kr raha hu,
    tab mujhe res.body undefined mil raha hai,
    aysa kyu?

    • @bhupenderkumar9508
      @bhupenderkumar9508 7 หลายเดือนก่อน

      bro always put the code . so you can get answer as fast as possible

  • @codingwithsam4992
    @codingwithsam4992 6 หลายเดือนก่อน

    Hey, github link chahiye iska.

  • @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! 😅

  • @Akash-nh8pc
    @Akash-nh8pc 9 หลายเดือนก่อน

    Bhaiya.. codes v de do... git hub

  • @madireddysainitin5576
    @madireddysainitin5576 9 หลายเดือนก่อน

    Can i get the source code

  • @technologygadget6570
    @technologygadget6570 7 หลายเดือนก่อน

    18:00
    Summary

  • @madireddysainitin5576
    @madireddysainitin5576 9 หลายเดือนก่อน

    Where is the Source code available

  • @shelendrasingh2301
    @shelendrasingh2301 6 หลายเดือนก่อน +1

    sir please new project se start kiya kro aap ushi project me karte hai to utna samaj nhi aata please

  • @Kabirrsaini07
    @Kabirrsaini07 3 หลายเดือนก่อน

    sir it would be better if you post code too

  • @heydude1551
    @heydude1551 19 วันที่ผ่านมา

    Why it took me 2.5 hours to complete it 😢

  • @1212AnurajKharat
    @1212AnurajKharat 26 วันที่ผ่านมา

    i have getting error user.find({}) is not funstion

    • @saarza9991
      @saarza9991 17 วันที่ผ่านมา

      id.user.find({})

    • @saarza9991
      @saarza9991 17 วันที่ผ่านมา

      In mongosh or in routes?

    • @1212AnurajKharat
      @1212AnurajKharat 17 วันที่ผ่านมา

      @@saarza9991 routes

  • @prajwalm.s7976
    @prajwalm.s7976 6 หลายเดือนก่อน

    Where is the source code?

  • @user-lw8bp4de3i
    @user-lw8bp4de3i 4 หลายเดือนก่อน

    Please provide code link 🔗

  • @BOSS-fc9lj
    @BOSS-fc9lj 6 หลายเดือนก่อน

    hey piyush could you provide all this code in github link ?

    • @BOSS-fc9lj
      @BOSS-fc9lj 6 หลายเดือนก่อน +1

      does any one have this full code kindly give github link!!!

  • @user-lw8bp4de3i
    @user-lw8bp4de3i 4 หลายเดือนก่อน

    Too complicated 🥲🥲

  • @tusharsingh1915
    @tusharsingh1915 13 วันที่ผ่านมา

    Why these 20 min feels like 220 mins🥲. Overall thankyou bhaiya for the consistent efforts:) love from ghaziabad!!

  • @darkknight-rp2ry
    @darkknight-rp2ry 2 หลายเดือนก่อน

    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.