Express Middleware

Поділитися
Вставка
  • Опубліковано 2 жов 2024
  • Hey Everyone, In this video, we will understand and code our own Middleware functions in express
    Express: Documentation: expressjs.com/...
    ► 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...
    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
    What is NodeJS?
    What is Express Middleware?
    How to use Express Middleware Functions?
    How Express Middleware works
    Tags
    #nodejs #javascript #expressjs #mernstack #developer #api #https #server #javascriptinhindi #webdevelopment #webapp #realtimeapp #serverside #nonblockingio #tech

КОМЕНТАРІ • 98

  • @weforyouweb1165
    @weforyouweb1165 Рік тому +58

    Make this series fully advanced so no one can compete with your channel!! god bless you Piyush ji🎉

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

    UA-cam can disable dislike button from this channel as it has no uses.

  • @saksham_1612
    @saksham_1612 Рік тому +30

    Your node js series is just killer

  • @shi-nee7966
    @shi-nee7966 Рік тому +27

    i have a 500rs course usse bhi itna nhi seekha jitna idhr se smjh rha hu 😭

    • @Ayush37262
      @Ayush37262 8 місяців тому +13

      Bro it is much better than code help and apna college web development courses

    • @not_amanullah
      @not_amanullah 6 місяців тому

      yes code help to complete kr hi nhi rha 😢​@@Ayush37262

    • @universalgadgets353
      @universalgadgets353 3 місяці тому +1

      Exactly I purchased their course but it's worthless

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

      Udemy? Jonas Schidthmann? 😅

    • @footeditzzz..319
      @footeditzzz..319 2 місяці тому +1

      Angela ka course hai kya 😂

  • @Rohitkumar-rt8bf
    @Rohitkumar-rt8bf 4 місяці тому +6

    Under 20 mins you covered all of the middleware and made us understand very well. Thanks a lot man.❤

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

    bhai amazing video finally cleared the doubt what us middleware

  • @ExtraAccount-e8l
    @ExtraAccount-e8l 19 годин тому

    Thankyou Sir

  • @shubhamsonawane967
    @shubhamsonawane967 Рік тому +2

    every time you write return res.json() what is the advantage of writing return while giving response.

    • @souravchaudhary5790
      @souravchaudhary5790 9 місяців тому +1

      just termination of that function. More readability. Good Practice

  • @ArunKumar_237
    @ArunKumar_237 3 місяці тому

    great tutorial

  • @ProtoCodersPoint
    @ProtoCodersPoint 3 місяці тому +1

    This is asked in one Interview
    Can you answer me?
    Without using ExpressJS we can use middleware then why do we use expressJS to create middleware.

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

      Middleware, in the context of web development, is a concept that isn't exclusive to ExpressJS or even Node.js. It's a general term for functions that sit between the raw request and the final handler, potentially modifying the request, response, or both, or handling specific tasks like authentication or logging.
      Without ExpressJS: You can implement middleware, but it requires more boilerplate code. You would need to manually handle the request and response cycles, making it less intuitive and more error-prone.

  • @MotivexBeastt
    @MotivexBeastt 3 місяці тому +3

    best channel on whole youtube to learn backend so polite but very high knowledge i am from tier 1 cse and i am learning backend from here

  • @whitewalker19
    @whitewalker19 7 місяців тому +3

    bro glad I found your channel man..and your website is amazing too..keep going

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

    Great explaination man ,sad it has so less traction . More power to you!

  • @twitch7657
    @twitch7657 3 місяці тому +1

    ngl, i was following harkirat cohort 2 course, and though he is very good teacher but his lecture is very lengthy like on avg 2-3 hours, and it was kinda boring, but piyush garg explained those stuff in 20 min, hats off.

  • @JRout-r9b
    @JRout-r9b 6 місяців тому +2

    Thank you soo much for this information, actuaaly every day we are working on this things but never got to know this term middleware.😅

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

    2 monts se middleware smj nhi arha tha ab 10 min m agya, Thanks bro

  • @211_kamalyadav3
    @211_kamalyadav3 Рік тому +3

    Sir is there any chance of getting notes of your lectures 🙏🙏

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

    Apne boht ache s smjhaya brother ❤
    Many thanks for sharing your insights!!

  • @ravivish4748
    @ravivish4748 8 місяців тому +1

    bhai bhai fan fan tmahara video dekh ke mera coding se bharosha udh gya papa mere bole jaa baji bech... tere se ni hoga kch..... bhai tmahre wjh se mujey ye manhoose din dekhna pda.... 🤕😒😒

  • @NAPSTERTech
    @NAPSTERTech 11 місяців тому

    quality content, keep it up brother

  • @mannansiyal7962
    @mannansiyal7962 4 місяці тому

    Good but you dont have to repeat one thing/point again and again .
    Its so irritating

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

    literally ! good Explanation , why i was wasting time on other youtube channel

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

    Superb content ❤

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

    Great and thanks 😊

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

    You are an amazing instructure man.

  • @tajansari612
    @tajansari612 10 днів тому

    The best video on middleware so far🤯

  • @Purvilicious
    @Purvilicious 6 місяців тому

    nobody explained it better

  • @keshavkattel
    @keshavkattel Рік тому +3

    The best video on middleware so far🙏

  • @weforyouweb1165
    @weforyouweb1165 Рік тому +3

    Superb Explanation 🎉

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

    Nice explanation 🙌.

  • @Alok01002
    @Alok01002 6 місяців тому

    Guys anyone have enrolled or learning from any course related to full stack developer paid ? Plz do mention here 🙏🏻

  • @Muavizhasan
    @Muavizhasan 6 місяців тому

    Hello Sir, i have a question can we say that the Middleware is a some kind of error flow?

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

    Best and simple video on middleware ... Love it 💕💕

  • @journeyofc6200
    @journeyofc6200 8 місяців тому +2

    amazing teaching skills 👌👌

  • @banothutharun2743
    @banothutharun2743 28 днів тому

    great teaching brother ... thank you for this masterpiece playlist ....

  • @sakshamgupta6675
    @sakshamgupta6675 6 місяців тому

    piyush sir you are doing great ,please continue making good content and help college students learn rather than crame code.

  • @mohit-x3t
    @mohit-x3t 6 місяців тому

    Hello Piyush can you create a video on how to connect the node application with

  • @BhagatBhutale..
    @BhagatBhutale.. 13 днів тому

    Video is Useful

  • @DTALKS01
    @DTALKS01 6 місяців тому

    Why backend is looks more easy than react

  • @chameliacharjee2809
    @chameliacharjee2809 6 місяців тому

    Please make advance custom middleware with its usage

  • @Rakesh-b4j
    @Rakesh-b4j 2 місяці тому

    Brother not able to do delete method please help me 🙏🏼🙏🏼 I am stucked please bhai help me

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

    ty sir

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

    This is not piyush tech us . This is a soul are tech us .

  • @fatimaiqra2169
    @fatimaiqra2169 5 днів тому

    Thank you

  • @samikshayadav387
    @samikshayadav387 9 місяців тому +1

    You made it super easy

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

    Cool teacher

  • @iamakashkumarram
    @iamakashkumarram Рік тому +3

    Very depth explanation 🔥

  • @daarionaharis8319
    @daarionaharis8319 7 місяців тому

    what is difference between
    return res.json({blah blah blah}) and
    return res.end("blah blah blah")

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

      Same as diffrence between object and string.
      .json send json as output
      .send/.end send text

  • @krishmakhija8333
    @krishmakhija8333 9 місяців тому +1

    Great tutorial sir...

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

    Best explanation ❤ of middleware

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

    cool

  • @AkshayKumar-ni8iw
    @AkshayKumar-ni8iw 4 місяці тому

    Sir bahut acha explanation hay. I became your fan

  • @RahulKumar-ed9vw
    @RahulKumar-ed9vw Місяць тому

    Bhaiya, your series is killer. Best series ever.

  • @shubhamgupta-bl1tr
    @shubhamgupta-bl1tr Рік тому

    Nice video.. depth explanation. Can you one video diff between app. use vs app .get

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

    Always on point explaination

  • @VivekYadav-up7uu
    @VivekYadav-up7uu Рік тому

    can you please make videos on DSA?

  • @startercoder
    @startercoder 6 місяців тому

    learnt something neww

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

    thanks pisyush for this awesome content.

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

    sir isse best explaination koi nahi de sakta h...😍

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

    bhai caching pe video bnao nodejs mai

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

    BEST EXPLANATION!!!! 🫡

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

    sir every time we make changes in our code we have to restart our server , is there any solution to it

  • @bhriguvaach
    @bhriguvaach 4 місяці тому

    You're a gem bhai...

  • @ezzsnippet125
    @ezzsnippet125 9 місяців тому

    Vs code theme konsa h

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

    Thank you so much for this video.

  • @HRi_tech
    @HRi_tech 6 місяців тому

    Thanks for this series 😊😌

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

    Share node ppt

  • @shreyas908
    @shreyas908 9 місяців тому

    Killer content

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

    goood explanation

  • @VashishthaSinghJayaswal
    @VashishthaSinghJayaswal 6 місяців тому

    Best

  • @SulavGhimireeee
    @SulavGhimireeee 9 місяців тому

    Thanks bro

  • @okay_ash
    @okay_ash 9 місяців тому

    nice video

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

    done

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

    Best explanation

  • @mohitrawat8452
    @mohitrawat8452 11 місяців тому

    Quality content.

  • @mma-dost
    @mma-dost Рік тому

    👌👌❤️🔥🔥🔥🔥💯💯💯

  • @bunnytheweebster
    @bunnytheweebster 9 місяців тому

    Vid - 15 ✅

  • @VikasSharma-kc2oc
    @VikasSharma-kc2oc Рік тому

    ❤🔥🔥🔥🔥🔥🔥

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

    💯🔥

  • @mohitpal1505
    @mohitpal1505 4 місяці тому

    are route handlers considered middlewares themselves?

  • @TakeMydick-ii4mb
    @TakeMydick-ii4mb Рік тому

    Understood very well man.