Model View Controller in NodeJS | MVC Pattern

Поделиться
HTML-код
  • Опубликовано: 19 ноя 2024

Комментарии • 135

  • @JeetendraKumar-wk8re
    @JeetendraKumar-wk8re 10 месяцев назад +47

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

  • @sureshbhatt363
    @sureshbhatt363 Год назад +40

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

    • @yashu1703
      @yashu1703 9 месяцев назад +3

      Bhaisahab ye kuch jyada nhi ho gaya kya?😂

  • @nadeemsajid3018
    @nadeemsajid3018 2 месяца назад +4

    1 of the best Node js tutorial I've ever watched, no one tells the best practices like this. Keep it up.

  • @faizsings
    @faizsings 9 месяцев назад +23

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

  • @VickTechPro
    @VickTechPro 7 месяцев назад +7

    You are literally the best Hindi RUclips teacher out there.

  • @Ashutosh7e
    @Ashutosh7e Год назад +17

    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.

  • @sarveshgaynar207
    @sarveshgaynar207 Год назад +5

    love your teaching I was very confused to understand mvc pattern

  • @shubhamsonawane967
    @shubhamsonawane967 Год назад +6

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

  • @tuseefahmed8625
    @tuseefahmed8625 5 месяцев назад +1

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

  • @sarfarazansari9053
    @sarfarazansari9053 10 месяцев назад +2

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

  • @niharkumarsahoo8227
    @niharkumarsahoo8227 4 месяца назад +1

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

  • @HarshSingh-dy8su
    @HarshSingh-dy8su 2 месяца назад

    Piyush bhai you are absolute menace to the dev community. Appreciate the Hard Work you put in .

  • @shaktisumantdas7997
    @shaktisumantdas7997 4 месяца назад

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

  • @muizshahid3929
    @muizshahid3929 5 месяцев назад

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

  • @souravkumar961
    @souravkumar961 6 месяцев назад +13

    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 4 месяца назад

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

  • @sumirandahal76
    @sumirandahal76 9 месяцев назад +1

    thanks brother, i learned so much and understood mvc pattern

  • @tuseefahmed8625
    @tuseefahmed8625 5 месяцев назад +1

    Best Playlist for node js ❤❤

  • @casinarro
    @casinarro 6 месяцев назад

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

  • @medevesh
    @medevesh 2 месяца назад

    01:50 Creating User Model
    02:40 Refactoring routes
    06:10 Refactoring MongoDB Connection
    07:45 Refactoring logger function/ setting middleware
    10:30 Setting Controllers

  • @sadam_khan
    @sadam_khan 2 месяца назад

    I was asked in an interview, do you use MVC? I said no.. a day later, I thought to explore it more...
    and, wow, I just found out that i have been using MVC without realizing i'm using it... coolllllll

  • @snehapatidar3122
    @snehapatidar3122 5 месяцев назад +4

    best nodejs playlist

    • @studyplans3783
      @studyplans3783 5 месяцев назад

      bilkulll

    • @saarza9991
      @saarza9991 4 месяца назад

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

    • @Kami_26
      @Kami_26 3 месяца назад

      @@saarza9991 mujh ko acha nhe lgta koi hmnam tera.
      koi tum sa ho to hi nam tum sa rakhe

  • @EswarRemoteEnginneer
    @EswarRemoteEnginneer 5 месяцев назад +2

    brilliant explanation bhai

  • @DeepThinking0710
    @DeepThinking0710 8 месяцев назад +1

    thanks piyush bro for making this video

  • @mazedislam8740
    @mazedislam8740 Год назад +1

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

  • @pallabdandapat1866
    @pallabdandapat1866 6 месяцев назад +1

    Great Explanation sir !!!😍😍 Thanks a lot

  • @cod-phy1646
    @cod-phy1646 4 месяца назад

    huge respect for you bhaiya, top notch content

  • @ShruthiR-d6r
    @ShruthiR-d6r 4 дня назад

    You nailed it!!

  • @MohammedHusainmobikira
    @MohammedHusainmobikira 3 месяца назад

    If i say Millions ❤❤❤ LIKES & COMMENTS are also less for this Video over the RUclips. Really you did great work next level formation of this video.

  • @namannema3349
    @namannema3349 6 месяцев назад

    maza aagayi bhaiya top notch video

  • @yashu1703
    @yashu1703 9 месяцев назад +1

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

  • @RahulKumar-ed9vw
    @RahulKumar-ed9vw 2 месяца назад

    great series ever

  • @CodeLife05
    @CodeLife05 10 месяцев назад

    what a amazing folder structure sir ❤

  • @Ari-pq4db
    @Ari-pq4db 5 месяцев назад

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

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

  • @Becoder15604
    @Becoder15604 2 месяца назад

    Amazing sir 😀😀😀

  • @adityajadhav879
    @adityajadhav879 3 месяца назад

    BEST TUTORIAL

  • @Ajmal_Hossain
    @Ajmal_Hossain 9 месяцев назад

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

  • @AnkitMishra-eu7du
    @AnkitMishra-eu7du 2 месяца назад

    Great tutor 👍

  • @poojaganvir5631
    @poojaganvir5631 10 месяцев назад

    Thank you so much , great explanation👍

  • @haarshpatel3972
    @haarshpatel3972 Год назад

    Wow! Simply amazing

  • @harshdevmurari007
    @harshdevmurari007 5 месяцев назад

    clear explanation

  • @human_curiosity1
    @human_curiosity1 11 месяцев назад +1

    awasome

  • @ishfaqmaknoo
    @ishfaqmaknoo 10 месяцев назад +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 6 месяцев назад

      could you please elaborate?

  • @techiehsr
    @techiehsr Год назад

    Nice explanation. Thanks!

  • @banothutharun2743
    @banothutharun2743 2 месяца назад

    Wow stuff 🎉❤

  • @MdTowhidulIslam-dv7mu
    @MdTowhidulIslam-dv7mu Месяц назад

    helpful video...

  • @rounakbhattacherjee5288
    @rounakbhattacherjee5288 Год назад +30

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

    • @bhupenderkumar9508
      @bhupenderkumar9508 10 месяцев назад +3

      Agree++

    • @Ayush37262
      @Ayush37262 9 месяцев назад +3

      Then you should learn React 😂😂

    • @yashu1703
      @yashu1703 9 месяцев назад +3

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

    • @DTALKS01
      @DTALKS01 7 месяцев назад +3

      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 7 месяцев назад +1

      @@DTALKS01 chai aur code is Trash

  • @SNX03
    @SNX03 3 месяца назад

    awesome

  • @developergourav
    @developergourav 6 месяцев назад

    THANKS MAN 💌

  • @tamannasharma1294
    @tamannasharma1294 2 месяца назад

    brilliantt

  • @ibntofajjal
    @ibntofajjal Год назад

    AWESOME BUDDY

  • @SulavGhimireeee
    @SulavGhimireeee 11 месяцев назад +1

    Thanks Bro

  • @chandradhamii
    @chandradhamii Год назад +1

    Thanks 🌟

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

  • @prajwalm.s7976
    @prajwalm.s7976 10 месяцев назад

    Amazing

  • @jitumaurya13
    @jitumaurya13 5 месяцев назад

    Best node js

  • @dillanio9191
    @dillanio9191 4 дня назад

    Another benefit of this is that currently we're making apis only for the users db, but in future if we want to add apis for products db (suppose its an e commerce platform), then we can simply create a platform.js file in controller, models, routes folders...
    Am i right in this thinking? Pls tell

  • @farhan-b9k
    @farhan-b9k 13 дней назад

    Guys,aap logo ne kya-kya se projects bnaliye??

  • @lovishduggal9064
    @lovishduggal9064 Год назад +1

    thankyou!!

  • @CodeMode9313
    @CodeMode9313 Месяц назад

    you can be the guy joh virus ke question "Can you explain " ka jawab de sakte the

  • @amazondealsloots
    @amazondealsloots 21 час назад

    Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'C:
    ode.js\mongo db tutrial\models\user' imported from C:
    ode.js\mongo db tutrial\controllers\user.js ERROR

  • @talhaabbas4535
    @talhaabbas4535 4 месяца назад

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

  • @mazharniaz6840
    @mazharniaz6840 6 месяцев назад

    The Gem 🔷

  • @devascript
    @devascript 3 месяца назад

    thanks jaani 😈

  • @mrxpandaplays2185
    @mrxpandaplays2185 6 месяцев назад

    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

  • @kumarvansh007
    @kumarvansh007 8 месяцев назад

    greatttt

  • @rashidtp4411
    @rashidtp4411 2 месяца назад

    make a video on nestjs also

  • @Chandraprakash-kx4ic
    @Chandraprakash-kx4ic Год назад

    Thanku Bro...Well explained
    can you let me know which extension you used for these beautiful file icons

  • @bhavnishpatel9903
    @bhavnishpatel9903 4 месяца назад

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

  • @JessuKumar
    @JessuKumar 5 месяцев назад

    Now this is some next level shit 😮

  • @NavinY5
    @NavinY5 11 месяцев назад

    18:00
    Summary

  • @sanxavier2475
    @sanxavier2475 2 месяца назад

    Can we create the file with name db.js instead of user.js in the models folder for better clarity?

  • @harshithp2068
    @harshithp2068 5 месяцев назад

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

  • @ankitdhilpe3622
    @ankitdhilpe3622 4 месяца назад

    what is the extension you are using for folders icons ?

  • @tusharsingh1915
    @tusharsingh1915 4 месяца назад

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

  • @pradeepKumar-rf9qb
    @pradeepKumar-rf9qb Год назад

    just supab...

  • @arbabali1225
    @arbabali1225 4 месяца назад

    Which vs code theme is he using⁉

  • @bunnytheweebster
    @bunnytheweebster 10 месяцев назад

    Vid - 20✅

  • @dopaminesero6390
    @dopaminesero6390 7 месяцев назад

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

  • @ExpoDev_Dash
    @ExpoDev_Dash Год назад

    bro, repositories ka kya use hai ? mene ek repo dekha usme repositories common/errors and common/utils inpe ek video bana do plz.

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

  • @HikeWithAK
    @HikeWithAK Год назад

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

  • @rashmisharma166
    @rashmisharma166 2 месяца назад +2

    can you please share code?

  • @shelendrasingh2301
    @shelendrasingh2301 10 месяцев назад +1

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

  • @JatinSharma-hw7hw
    @JatinSharma-hw7hw Год назад

    I experienced how to organically subscribe to someone

  • @nakulattrey2003
    @nakulattrey2003 9 месяцев назад

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

  • @aoopss
    @aoopss Год назад

    👍

  • @techtaleswithshivam
    @techtaleswithshivam Год назад +1

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

  • @Kabirrsaini07
    @Kabirrsaini07 7 месяцев назад

    sir it would be better if you post code too

  • @DarwazaKhulaHaiOfficial
    @DarwazaKhulaHaiOfficial Год назад

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

    • @bhupenderkumar9508
      @bhupenderkumar9508 10 месяцев назад

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

  • @UTSAVSUTARIYA-z1r
    @UTSAVSUTARIYA-z1r 3 месяца назад

    I need this full of code! anyone
    have?

  • @Akash-nh8pc
    @Akash-nh8pc Год назад

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

  • @ashishdesai1977
    @ashishdesai1977 Год назад

    where is view files , mensioned mvc?

  • @madireddysainitin5576
    @madireddysainitin5576 Год назад

    Where is the Source code available

  • @heydude1551
    @heydude1551 4 месяца назад

    Why it took me 2.5 hours to complete it 😢

  • @reactjs-tutorial
    @reactjs-tutorial 2 месяца назад

    source code milega sirji

  • @1212AnurajKharat
    @1212AnurajKharat 4 месяца назад

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

  • @21UEI007MuskanGupta
    @21UEI007MuskanGupta 8 месяцев назад

    Please provide code link 🔗

  • @codingwithsam4992
    @codingwithsam4992 10 месяцев назад

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