Building REST API's using Node and Express.js

Поділитися
Вставка
  • Опубліковано 17 гру 2024

КОМЕНТАРІ • 127

  • @as_if
    @as_if 9 місяців тому +33

    1. Respect http methods (get, post, patch, put, delete) - restful api
    2. A hybrid server does 2 jobs:
    - at '/users' : render an html page (SSR), when it knows that surely a browser is the client
    - at '/api/users' : sends the data as json, so that a mobile app or react can handle that at the client side

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

      good job

    • @AbdulRehman-ui3nj
      @AbdulRehman-ui3nj 4 місяці тому +2

      if you have completed the course, can you please tell me if a person who carefully watches and practices this playlist would be able to make REST APIs?

  • @amitbhati5518
    @amitbhati5518 4 місяці тому +7

    Govt should give you an award for skill India, you saved money and time of lots of students and professionals. Great work.

  • @User-yb3yc
    @User-yb3yc 6 місяців тому +8

    Ek baar mai smj gaya bro . Great Teacher with perfect explanation

  • @jaiminjariwala5
    @jaiminjariwala5 9 місяців тому +11

    Wow, came at your video for the 1st time and literally your way of explanation is incredible !

  • @Sal-bm4mw
    @Sal-bm4mw Рік тому +48

    Hey Bro! I've a question... How did you get so good at these things (Practical + theoretical ) what're are your resources? Do you read the official docs or what??? I like the level of your intellect. Please Reply!!!

    • @piyushgargdev
      @piyushgargdev  Рік тому +44

      Great Question! To answer this question, I'll create a dedicated video on how I understand new technologies and frameworks!

    • @Sal-bm4mw
      @Sal-bm4mw Рік тому +9

      @@piyushgargdev Thanks! Fou your reply... Usually I watch English tutorials and I find them quicker and well explained than hindi ones. But Bro... Your Content is amazing.. It's quicker to learn and well explained. I found them best Hindi tutorials ever.

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

      ​@@piyushgargdevmost of the UA-camrs say this thing but never reveal

    • @AMAR-pc6ht
      @AMAR-pc6ht 11 місяців тому +1

      @@piyushgargdev bnao bhai, abhi nhi aya ig.

    • @showsshorts4696
      @showsshorts4696 10 місяців тому

      sir video please on this topic

  • @ExploreSciFi
    @ExploreSciFi 4 місяці тому +20

    a very underrated playlist and UA-camr... 😢

  • @rounakbhattacherje3426
    @rounakbhattacherje3426 Рік тому +8

    bhaiya apka content bohot awesome h! bht easy way mei sikha rha ho app, thank u bhai! u are really making some change in the world of web dev

  • @roy_v_varshney
    @roy_v_varshney Рік тому +13

    best teacher
    simple and clean code without any error
    just wow.

    • @AbdulRehman-ui3nj
      @AbdulRehman-ui3nj 4 місяці тому

      if you have completed the course, can you please tell me if a person who carefully watches and practices this playlist would be able to make REST APIs?

  • @49-farhaanali86
    @49-farhaanali86 13 днів тому +1

    Outstanding brother!❤

  • @MDZainulAbiddin481
    @MDZainulAbiddin481 Рік тому +7

    Best Node js series in youtube 🎇

  • @ChuanyiXia
    @ChuanyiXia 14 днів тому

    とても役立つ投稿ですね!NodeとExpress.jsを使ってREST APIを作る方法がよく分かりました。実際に試してみたくなりました。ありがとうございます!

  • @user--84
    @user--84 Рік тому +5

    Appreciate the video as much as it is less, fantastic , thanks sir

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

    One of the bestest video for understanding Restful API in node.js😊 thank you so much sir for an excellent explanation. Keep it up

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

    Wow wow wow, you nailed it bro. Your way of explaining things is very very good. 👍

  • @Soulcode-k
    @Soulcode-k 2 місяці тому +1

    Why is this playlist so underrated. This is so epic knowledge.❤❤❤❤❤

  • @rohitbarshile6424
    @rohitbarshile6424 9 місяців тому +2

    your videos are just two good for beginner sir

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

    Best series🔥

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

    Thanks sir. I saw you with Hitesh sir first time from there i continue following you.

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

    mind Blowwwwwwwnnnnn. Kya sikhaya hai now I have to watch this NodeJs Series. 👏👏

  • @davidtirkey1502
    @davidtirkey1502 10 місяців тому +1

    Keep it going, bro! Your way of breaking things down is awesome.

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

    Best video to understand REST API in node js

  • @Ankit-xq3sl
    @Ankit-xq3sl 3 місяці тому +2

    thank you 100 times 😊😊for this video really it is very useful for me and other peoples

  • @whitewalker19
    @whitewalker19 10 місяців тому +1

    really happy to discover your channel bro...thanks a ton

  • @adamkotwal1453
    @adamkotwal1453 8 місяців тому

    Best Explanation Ever. Keep making such videos. Clean, Concise and Concreate Content...

  • @SoumyaRanjan-w5j
    @SoumyaRanjan-w5j 21 день тому +1

    Let's make this channel popular.

  • @ta-prgmr
    @ta-prgmr 8 місяців тому

    I was exactly looking for this. Thanks man.

  • @ShwetaBharti-f8d
    @ShwetaBharti-f8d 2 місяці тому

    Bhaiya sach me aisa lgg raha kitni baar thankyou kre aapko. Thankyou is a small word for you.🥰

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

    Thank you Piyush bhai,aap ki wajah se mere most of the problems solve ho jate hai ❤

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

    Sir currently I'm following this series , and it is great .
    But right now I have a doubt ki jab me apne browser me localhost kholta hun tab it is not as clean and neat as it is with you at @8:17
    complete black screen with every users details written in a single separate line only mtlb ki wo ek line me hr user ko nipta rha h , dunno why , plz reply

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

      Hello i found the solution to this problem that is by downloading a JSON extemnsion fopr us to view this page .
      i think piyush forgot to tell us that we need to download extension or something
      any way if helpful hit the like button on this video as well as on my comment

    • @AMAR-pc6ht
      @AMAR-pc6ht Рік тому

      i guess appne data ko formatting nahi kiya hai vs cod emein

  • @sa-healvlogs2254
    @sa-healvlogs2254 2 місяці тому

    Nicely explained brother. Last video too🙌

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

    Wow... Thanks so much for these incredible tutorials...

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

    this guy is so clean man u r my backend go to channel nice man

  • @AdityaKumar-yq3ub
    @AdityaKumar-yq3ub 6 днів тому

    great way of teaching

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

    very nice way of teaching brother

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

    Piyush bhaiya i cannot thank you enough for this playlist.

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

    It's really very best playlist for NODEJS

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

    good explanation skills with soothing voice

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

    simple and clean

  • @barnalisikdar8638
    @barnalisikdar8638 11 місяців тому +3

    Hello Sir, Node js series is very good and easy to understand, as well.But couldnot find MERN Stack Video on your channel,needed that one for understanding CSR. anyone Please share the link if it is already there.

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

    Pyush Love you Bro. For this type of content.

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

    Excellent clarification, thank for his awesome video

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

    Well explained thanks

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

    amazing video piyush! just have a quick question. do we not need to export the mock data? you didn't export it but still the require function worked and i'm wondering if exporting is optional? will it work if i explicitly do it as-
    const mock_data=[ ];
    module.exports=mock_data;

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

    Awesome teaching Piyush Bhai.

    • @AbdulRehman-ui3nj
      @AbdulRehman-ui3nj 4 місяці тому

      if you have completed the course, can you please tell me if a person who carefully watches and practices this playlist would be able to make REST APIs?

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

      @@AbdulRehman-ui3nj yes.. For sure

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

    nice Teaching thanks for help,
    please add video number one by one, right now i have show API's using node and express ja but what next video i have no any idea.

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

    Thank you so much for this wonderful video

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

    Great explanation! Thank you.

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

    module type k sath import kese karenge MOCK.json ko?

  • @वृषालीहळदणकर
    @वृषालीहळदणकर 6 місяців тому

    thank you so much for all the Videos great Job .. can you please also make videos on step functions

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

    sir 1 Q tha jab express se routing kar skate hai tou node me HTTP or URL module Ku banye video bana ke bata dijiye ga

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

      Hey, There is already a video on HTTP and URL module in this playlist.

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

    hey? does it mean that the backend and the frontend will deploy differently?

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

    this is helpful ❤

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

    Awesome video sir 🔥

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

    Behtareeeeeeeeeeeeennnnnnnnnnnn!!!!!!!!!!!!!!!!!!!!!!

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

    great explanation

  • @subhamroy5368
    @subhamroy5368 8 місяців тому

    Damn, so good explaination

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

    In my vs code when i try to add get, patch and delete into single route it is showing error in two lines one at the start of .patch and other at the start of .delete why is it like that ?

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

    Every time I create a new package.json and write start in script, 'npm start' starts the server mentioned in the latest package. What about others?

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

    Appreciated 👍

  • @VINITSOLANKI-uj3yk
    @VINITSOLANKI-uj3yk 13 днів тому

    can anyone confirm that this is only i need to learn backend development? or there more I should know as a begineer?

  • @hetjayeshbhaipatel1075
    @hetjayeshbhaipatel1075 10 місяців тому

    why do we need to write return res.json(users) while res.json(user) itself is working fine .. is it only for good readability or is there any future use of returned json

    • @hetjayeshbhaipatel1075
      @hetjayeshbhaipatel1075 10 місяців тому

      okay found his response in below comments ,
      "
      @piyushgargdev
      1 year ago
      You can do res.json() but it's a good practice to always have return statement as we want to stop execution of req res cycle"

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

    Thank you sir❤❤❤❤

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

    bhai maza aagaya

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

    in mac 8000 not opening new web window and not server start what should i do

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

    what is the best practice to write an api in node js
    1) Import or require?
    2) js or ts?

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

    Sir pehli api me patch and delete request kese kar ni hai pata nahi chal raha to kya karu sir bahot try kiya idea hi nahi aa raha

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

    pls req.parse aur req,params ke bech ka kya differnce hai why do we use this plz bring light into it

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

    excellent

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

    mlte hai next video me Kafi sare doubts clear ho gaye. isko definitely revise karna padega

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

    My learning
    User find method when fetching single user data instead of using filter method because filter return the array and find return the object

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

    very very thanku sir

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

    Thanks bhaiya

  • @saurabhpatil2529
    @saurabhpatil2529 16 днів тому

    Thanks sir

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

    Someone know how to connect to ms sql to get or post the data?

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

      there is probably a library that needs to needs to be install by npm that library will interact with your mysql db

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

    Hey can someone explain me pls mere isme package.json file nhi ban rhi

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

      run command -> npm init
      Make sure node is installed on your device
      To check this run this command -> node --version

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

    gooooooood

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

    Thanks bro

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

    good

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

    what to do anyone help , erorr showing res not defined

  • @Nothing-eg9ol
    @Nothing-eg9ol Рік тому

    great

  • @ayeshasarwar615
    @ayeshasarwar615 8 місяців тому

    your github repo to get your code?

  • @VishalSingh-er2bl
    @VishalSingh-er2bl Рік тому

    Wow❤❤❤❤❤❤

  • @ErrorEagle-z6r
    @ErrorEagle-z6r Місяць тому

    thanku sir

  • @Kiran-wq1xu
    @Kiran-wq1xu Рік тому

    thank you

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

    source code of the class?

  • @TempUser-oy6de
    @TempUser-oy6de 2 місяці тому

    How to get code link..?

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

    sir jab response send karna hota hai to , ya to res.send() use karte hai ya to res.json() as per req.
    to mera doubt ye hai ki ,
    return res.json(); use kare ya keval res.json();
    kyuki in both result mil rha hai
    so how should we send the response , using return or without return , because in both the way it works ?? how ??why

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

      You can do res.json() but it's a good practice to always have return statement as we want to stop execution of req res cycle.

    • @hetjayeshbhaipatel1075
      @hetjayeshbhaipatel1075 10 місяців тому +1

      i had same doubt

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

    Please make full mern project like eCommerce paid or free with everything like depyoment via ci cd also

  • @Harshal-dk2kr
    @Harshal-dk2kr Рік тому +1

    bhai aapne 17 jan ko create kiya kya yeh video

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

    why dont you use nodemon?

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

    🔥🔥🔥🔥🔥🔥🔥🔥

  • @alizarweto8437
    @alizarweto8437 8 місяців тому

    Aj pata chala server side rendering and client side rendering kya hota hai

  • @test-wm6oz
    @test-wm6oz 10 місяців тому +2

    yar jo code tha us ko github pe upload kar detay ab bar bar ye video kyun dekhain

  • @dramas_hub
    @dramas_hub 8 місяців тому

    Is code available for this?

  • @PiyushShrivastava-h5j
    @PiyushShrivastava-h5j Рік тому

    Sir, apse milna ho ya direct baat krni ho to please....

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

    vid-13 ✅

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

    Mom Says No Girlfriend 🤣

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

    SOURCE CODE???????!!!

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

    Thank you