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

КОМЕНТАРІ • 97

  • @JeetendraKumar-wk8re
    @JeetendraKumar-wk8re 5 місяців тому +21

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

  • @souravkumar961
    @souravkumar961 Місяць тому +7

    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 місяців тому +21

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

    • @yashu1703
      @yashu1703 5 місяців тому +2

      Bhaisahab ye kuch jyada nhi ho gaya kya?😂

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

  • @faizalammusic
    @faizalammusic 5 місяців тому +6

    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 місяців тому +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....

  • @VickTechPro
    @VickTechPro 2 місяці тому +2

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

  • @mazedislam8740
    @mazedislam8740 Рік тому +1

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

  • @shubhamsonawane967
    @shubhamsonawane967 10 місяців тому +2

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

  • @sumirandahal76
    @sumirandahal76 4 місяці тому +1

    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 місяці тому +1

    thanks piyush bro for making this video

  • @pallabdandapat1866
    @pallabdandapat1866 Місяць тому +1

    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 місяців тому +1

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

  • @tuseefahmed8625
    @tuseefahmed8625 25 днів тому +1

    Best Playlist for node js ❤❤

  • @casinarro
    @casinarro 2 місяці тому

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

  • @Eswar.fullstackdeveloper
    @Eswar.fullstackdeveloper Місяць тому +2

    brilliant explanation bhai

  • @ibntofajjal
    @ibntofajjal Рік тому

    AWESOME BUDDY

  • @datareport1582
    @datareport1582 7 місяців тому +1

    awasome

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

  • @chandradhamii
    @chandradhamii Рік тому +1

    Thanks 🌟

  • @prajwalm.s7976
    @prajwalm.s7976 5 місяців тому

    Amazing

  • @lovishduggal9064
    @lovishduggal9064 11 місяців тому +1

    thankyou!!

  • @ishfaqmaknoo
    @ishfaqmaknoo 5 місяців тому +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 Місяць тому

      could you please elaborate?

  • @harshdevmurari007
    @harshdevmurari007 15 днів тому

    clear explanation

  • @developergourav
    @developergourav Місяць тому

    THANKS MAN 💌

  • @SulavGhimireeee
    @SulavGhimireeee 6 місяців тому +1

    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

  • @Ajmal_Hossain
    @Ajmal_Hossain 5 місяців тому

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

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

  • @snehapatidar3122
    @snehapatidar3122 Місяць тому +4

    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 місяців тому +18

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

    • @bhupenderkumar9508
      @bhupenderkumar9508 6 місяців тому +3

      Agree++

    • @Ayush37262
      @Ayush37262 5 місяців тому +1

      Then you should learn React 😂😂

    • @yashu1703
      @yashu1703 5 місяців тому +2

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

    • @DTALKS01
      @DTALKS01 2 місяці тому +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 місяці тому +1

      @@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 місяців тому +1

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

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

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

  • @JatinSharma-hw7hw
    @JatinSharma-hw7hw Рік тому

    I experienced how to organically subscribe to someone

  • @heydude1551
    @heydude1551 13 годин тому

    Why it took me 2.5 hours to complete it 😢

  • @shelendrasingh2301
    @shelendrasingh2301 5 місяців тому +1

    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 місяців тому +1

      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.