Build a REST API with Node JS and Express | CRUD API Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 พ.ย. 2024

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

  • @javascriptmastery
    @javascriptmastery  3 ปีที่แล้ว +38

    JavaScript Mastery PRO launching soon! Be the first one to find out about it - javascriptmastery.eo.page 🔥

    • @LindaLinda-ls2fd
      @LindaLinda-ls2fd 3 ปีที่แล้ว

      Please help. Why is bodyParser automatically struck out when I type it in in Line 7 and the message says "bodyparser is deprecated."?????

    • @bhaveshchaudhari693
      @bhaveshchaudhari693 3 ปีที่แล้ว +3

      ​@@LindaLinda-ls2fd
      after version 4.16.0 bodyParser is deprecated and you can use express.json() instead of bodyParser.json() now... this is the official statement
      "The express.json() and express.urlencoded() middleware have been added to provide request body parsing support out-of-the-box. This uses the expressjs/body-parser module underneath, so apps that are currently requiring the module separately can switch to the built-in parsers."

    • @LindaLinda-ls2fd
      @LindaLinda-ls2fd 3 ปีที่แล้ว +2

      @@bhaveshchaudhari693 Thank you so much for replying (I really appreciate it) - I am not tech savvy so I will just use the version he is using so I don't run into any more issues.

    • @DmitriyMalayevProfile
      @DmitriyMalayevProfile 2 ปีที่แล้ว

      Hello Adrian,
      Nice to meet you. Thanks for making an amazing youtube series.
      I am completely stuck on something in one of your videos.
      router.get("/", (req, res) => {
      console.log(users); //In the video you get this output in the browser, I get it in the vs code.
      res.send("Hello"); //I get this in the browser.
      });
      No idea why. Your input would be very much appreciated. Thanks.
      th-cam.com/video/l8WPWK9mS5M/w-d-xo.html

    • @hexadecimalhexadecimal5241
      @hexadecimalhexadecimal5241 2 ปีที่แล้ว

      @@DmitriyMalayevProfile i know same dude wtf...like browser just doesnt read the JSON no matter what. and in console when you type JSON is says {Symbol(Symbol.toStringtag): 'JSON', parse: f,stringify: f} someting like that, which a google search takes you nowhere....

  • @shargeforce
    @shargeforce 4 ปีที่แล้ว +227

    Just here to vote for the MongoDB tutorial. I hope my comment helps the algorithm. Great video.

    • @javascriptmastery
      @javascriptmastery  4 ปีที่แล้ว +12

      Thanks, coming soon!

    • @alexander_stahl
      @alexander_stahl 2 ปีที่แล้ว

      Would be really great!

    • @rohith2714
      @rohith2714 2 ปีที่แล้ว

      If thr mongo db tutorial is done , can u please share the link here ..🙏

    • @soichirojin7146
      @soichirojin7146 2 ปีที่แล้ว +2

      @@javascriptmastery Waiting for MongoDB as a continuation part of this tutorial :)

  • @samnayakawadi
    @samnayakawadi 2 ปีที่แล้ว +53

    I want to take a minute & appreciate the quality knowledge he has delivered to the world. I have seen many videos on Rest APIs with NodeJS, But this is just outstanding. The English pronunciation was so clear that any non-native person can understand it. The flow of the video was in such a way that, I was understanding what is happening throughout the video. And one more thing - I started this video at 12 AM & It's 1:15 AM now. I didn't know how the time went by. What a great mentor. Looking forward to seeing such great content for all my javascript needs. Subscribed.😀

    • @surajmallick7999
      @surajmallick7999 2 ปีที่แล้ว

      jara sun na tune users array ko console.log kiya tera array object dikhaya kya chrome bcz it needs res.send( ) to work it dosent shows on my browser

  • @subhadipkhawas5085
    @subhadipkhawas5085 ปีที่แล้ว +2

    hats-off to this man's patience level, explaining each and everything with clear English pronunciation. Thank you so much

  • @skyz3ra
    @skyz3ra 3 ปีที่แล้ว +59

    That's an actual tutorial. I watched like 10 others that were so abstract I felt like wasting my time. This one actually explained and show us stuff in a concrete way. Thanks a lot

  • @mihaelacostea5783
    @mihaelacostea5783 ปีที่แล้ว +2

    You cannot imagine how happy your video made me! i've struggled so much with understanding other instructors that I almost lost hope that I could ever learn JavaScript. I even took an 8 hours freeCodeCamp course and it almost made me give up entirely on programming. Thank you so much!

    • @marwantraiki3499
      @marwantraiki3499 ปีที่แล้ว +2

      as a front end react dev . is this video good for a beginner in backend ?

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

    Dude how is it that im understanding every single thing you are spitting. Thank for being a master instructor!

  • @farrukhatabekov595
    @farrukhatabekov595 4 ปีที่แล้ว +43

    Your content is really clear and on point without needless talk or explanations. I had learnt tons from your react project building Corona -tracker.This express API is video was also something I was looking for. I would really appreciate if you make another video on interacting with MongoDB database. Thanks.

    • @shujanaqvi7007
      @shujanaqvi7007 3 ปีที่แล้ว +3

      If you found it then let me know please!

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

    What a tutorial, even after 4 years of being published, i find it now, and only tutorial i can understand

  • @nileshsaini09
    @nileshsaini09 2 ปีที่แล้ว +3

    After watching so many tutorials on building APIs, I have to say that this is the best video. Simple app, no unnecessary packages and to the point explanation of each and every line of code. Going to share this video and recommend it to my friends!!!
    Thank you for making this!

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

    Man.this all I need to know to working on.my assessment Full stack Web app... in 12 weeks course never seen this way to building up CRUD app ..Thanks for your video

  • @dhruvpurwar6642
    @dhruvpurwar6642 3 ปีที่แล้ว

    Best stuff found about RESTAPI's ever!!! Your work is commendable!!.....

    • @shivanigaddagimath2143
      @shivanigaddagimath2143 3 ปีที่แล้ว

      Hello Dhruv! Are you a 2021-passout? Would you be interested in exploring job opportunities in web development?

  • @franciscogilt
    @franciscogilt 2 ปีที่แล้ว

    The perfect introduction to REST with Node and Express.

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

    Went through about 50 vids before this perfectly explained masterpiece came along. Thank you.

  • @surajgadage6004
    @surajgadage6004 4 ปีที่แล้ว +8

    This channel definitely deserve more ....

  • @maskman4821
    @maskman4821 4 ปีที่แล้ว +4

    This is the best node express crud api tutorial without a doubt !!!

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

    You just earned an extra subscriber with this video

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

    I am a first-time visitor of your video.
    as soon I spend 10 min, I realized this could be the best source... Subscribed and liked

  • @melanieprevot4926
    @melanieprevot4926 2 ปีที่แล้ว +2

    Just finished coding along with this video. I need say that this is fantastic. The way you explained is definitely clear, into details and easy to understand for beginners ! Thank you so much Sir !

  • @JaganMohanMukkala
    @JaganMohanMukkala 4 ปีที่แล้ว +9

    I guess your tutorial is the first one i'm seeing the import statements being used instead of require statements. Most up to date tutorial. Thanks 👍

  • @wilfredj.m.kabathi1633
    @wilfredj.m.kabathi1633 2 ปีที่แล้ว +2

    Man you are great. I knew Javascript but had not worked with Express and Node. You just made me add something on my CV. You are great teacher. Looking forward for your MongoDB tutorial.

  • @hilton9304
    @hilton9304 3 ปีที่แล้ว +2

    Has been, I think, 2 or 3 weeks ago that I started to learn node.js and express and I could followed along with your tutorial. Well explained, and one thing I noticed in the beginning it's that you typed the parameter or something you would do but secs later you delete it explaining why. It's a awesome thing to do 'cause I watched and did at the same time and that really got into my thinking process. Thanks for sharing this class with all of us !! Peace !

  • @sebiporini
    @sebiporini 2 ปีที่แล้ว +2

    Ouuuuuu i loved it.
    Sunday. 11AM morning. Nothing to do.
    I said: "Lets give a try to this video".
    Totally worth it. I loved every step in this tutorial and has helped me a lot about what an API is.
    I now its totally amateur and probably has a lot of security problems.
    This post-get-delete-patch back end mini-app was GREAT!! I would love to add a database and query!
    Right now, you have won a new subscriber and i will check your videos.
    Love

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

      That's amazing! I'm glad you liked it! 😊

  • @viktorlnt7835
    @viktorlnt7835 3 ปีที่แล้ว +23

    Very clean, perfect for complete beginners. Thank you for the effort you put into this. Zero to hero :)

  • @alexIVMKD
    @alexIVMKD 4 ปีที่แล้ว +173

    It would be really nice if you could extend this content with MongoDB, great stuff

    • @javascriptmastery
      @javascriptmastery  4 ปีที่แล้ว +32

      That's the plan!

    • @RNMERIA
      @RNMERIA 4 ปีที่แล้ว +3

      @@javascriptmastery yes please. I know every day somebody is starting but we need some advance stuff too. Thank you

    • @Psychopatz
      @Psychopatz 3 ปีที่แล้ว

      @@javascriptmastery thanks for this awesome tutorial sir! as always

    • @sandeepmishra5145
      @sandeepmishra5145 3 ปีที่แล้ว +9

      @@javascriptmastery so you created with mongodb or not???

    • @romainmt1777
      @romainmt1777 3 ปีที่แล้ว

      @@javascriptmastery Still the plan ? Wonderful vidéo though !

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

    I've done many of these tutorials, and I have to say, this is by far the best one I've taken.

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

    never watched that much smooth explanations. not everyone shows practical explain like you do. thanks a lot.

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

    Wow! Spent the entire day following this wonderful tutorial. Im really impressed. Thank you for this!

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

    An Absolutely No Nonsense Beginner's Guide to Getting Started with APIs. Loved coding along ❤

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

    This is arguably the best video of nodejs on TH-cam.. Hat off to you man 🙌🙌

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

    The most comprehensive video on nodejs API. Thank you so much for putting in the effort to see people like us groundbreaking in these spaces.

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

    You improved so much

  • @Radiosabines
    @Radiosabines 3 ปีที่แล้ว

    Master yours explanations and sense of teaching is like drink water.... thank you

  • @Justin_Min_001
    @Justin_Min_001 4 ปีที่แล้ว +9

    Simple and easy to follow but powerful tutorial. I loved it. Thank you!

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

    By far the best tutorial I have or ever will see relating to API's. Clear, concise, to the point, not loaded with anything unnecessary, and explains everything. I understand APIs that much more because of this video. Thank you for your contribution to us learning web development my guy THIS IS THE CORRECT TUTORIAL TO WATCH

  • @PranavMishra-u8l
    @PranavMishra-u8l ปีที่แล้ว

    Mate ........you are a legend.Keep sharing your experience and knowledge

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

    I just graduated from as a web developer and I am going to go through a lot more of your videos now that I've found you. This is Gold the way you teach, Subbed

  • @TechnoDB
    @TechnoDB 4 ปีที่แล้ว +2

    I love the way you put out the best practices.

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

    The Best tutorial that i found on the Internet!

  • @skyz3ra
    @skyz3ra 3 ปีที่แล้ว

    Super clean didn't even see the hour go

  • @modernity3323
    @modernity3323 4 ปีที่แล้ว +2

    Honestly speaking.. it was clearly explained. I can’t wait for the you to make a tutorial on authentication.
    Thanks

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

    After searching almost all the videos in youtube regarding API automation with Node.js. ...this is the best compact video suited for me.
    ❤️
    Thanks 🙏👍

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

    I would like to take the moment of appreciating the knowledge you shared in this tutorial 🙏!
    What a blessing it has been for me and thank you very much!

  • @firesnake6311
    @firesnake6311 3 ปีที่แล้ว

    Thanks man
    I've been searching for sth that I can understand rest api
    U changed my life

  • @KilluaZolydck10
    @KilluaZolydck10 3 ปีที่แล้ว +4

    Today I discovered this channel and surprisingly I watched your 3 videos on guided projects. I learned a lot from these videos. Now I am confident with React, Node, Rest API.
    Thanks a lot for providing such amazing content🤘💯

    • @shivanigaddagimath5994
      @shivanigaddagimath5994 3 ปีที่แล้ว

      Hello Yash, have you created any projects in react and node? Are you a fresher in web dev and looking for job opportunities in the same?

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

      @@shivanigaddagimath5994 I am , yes

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

    your explanation is incredible, and also your accent and pronunciation are on point! thank you so much

  • @satishtiwari001
    @satishtiwari001 2 ปีที่แล้ว

    This tutorial is actual teach new thing as well as save our time .

  • @mudassir45
    @mudassir45 3 ปีที่แล้ว

    So professional and clean tutorial with proper folder structuring and easy to understand.
    Much love from Pakistan

  • @sidneyonahon602
    @sidneyonahon602 2 ปีที่แล้ว

    thank you man you made my life easy to learn.

  • @rawandaali8423
    @rawandaali8423 2 ปีที่แล้ว

    I've just watched this tutorial, I fully understand the concepts and how to build a rest API thanks a lot

  • @LongBoy.0
    @LongBoy.0 3 ปีที่แล้ว +1

    Another week, another JS Mastery tutorial. Love the content, keep it coming.

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

    Amazing tutorial, I followed this video from scratch to end, and I've understood what the api is clearly with your helo, thanks so much

  • @ladydidi8725
    @ladydidi8725 4 ปีที่แล้ว

    Sir, whoever clicked unlike button under your video, it is jealous of your talent. Excellent tutorial!

  • @cendolbang99
    @cendolbang99 2 ปีที่แล้ว

    been long time not doing this, such a good refresh!

  • @cengizc.matarac260
    @cengizc.matarac260 2 ปีที่แล้ว +2

    Thank you for this delightful tutorial, rock on!

  • @oybektoshmatov9508
    @oybektoshmatov9508 4 ปีที่แล้ว +8

    I like the way you explain buddy! I learned a lot through following your tutorials such as youtube-clone, covid-tracker projects. Keep it up, looking forward to more interesting projects

  • @richcaro3132
    @richcaro3132 3 ปีที่แล้ว

    Oh, This is best video that is well explained for the GET, POST, DELETE, PATCH in node.js with express. It was easy to code along with you successfully . Thank you for the nice video. Great appreciation for the effort.

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

    I just wanted to say thank you so much for creating and sharing this video tutorial on REST API. Your video was incredibly helpful and saved me a lot of time. I really appreciated how easy it was to understand, and the quality of the video was excellent. I now feel much more confident in my ability to work with REST API. Your contribution to the community is greatly appreciated, and I'm sure many others have benefited from your expertise. Thanks again, and keep up the fantastic work!

  • @byronk5
    @byronk5 3 ปีที่แล้ว

    Best Express tutorial I have watched, many thanks!

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

    amazing!!,... this is the best tutorial have ever seen, clearly to understand and to take to practice! I really appreciate it.!..
    I'm beginning with node , this helps me a lot.. I'm looking forward to finding more like this one!!

  • @endrifucia6975
    @endrifucia6975 2 ปีที่แล้ว

    The best tutorial by far on REST API. Keep it up!

  • @KeshavKumar-re1ls
    @KeshavKumar-re1ls 4 ปีที่แล้ว +1

    You are just the best instructor out there.

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

    Bro what a amazing video ❤

  • @Lohitpant
    @Lohitpant 3 ปีที่แล้ว

    cleared my API basics like req, res, body, params and different types of requests. Thanks!

    • @shivanigaddagimath2143
      @shivanigaddagimath2143 3 ปีที่แล้ว

      Hey Lohit, have you completed any projects using node? Are you a fresher and open to full-time roles in web development?

  • @zekariyasmulugetaaltaye1065
    @zekariyasmulugetaaltaye1065 2 ปีที่แล้ว

    Just like you promised in the beginning of the video so practical. Great video

  • @benjaminpring
    @benjaminpring 3 ปีที่แล้ว +2

    Your teaching style is awesome!!! I really enjoyed this video. Thanks so much!

  • @mohd.maasir8198
    @mohd.maasir8198 ปีที่แล้ว +1

    20:29 small correction: it should be res.send(users)

  • @BrianKeeganMusic
    @BrianKeeganMusic 2 ปีที่แล้ว

    This was the best video I have watched that really helped me understand Express and JavaScript in general. I learned more in this tutorial than I could have ever imagined.

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

    It all finally makes sense. Thanks for this sir. And surely, I'd love to watch a full mearn stack tutorial

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

    Best tutorial ever . kindly continue a second part where you teach how to connect this to the mongoDb database

  • @selamantech2003
    @selamantech2003 2 ปีที่แล้ว

    Ohhhh guys it's so amazing tutorial. The way he explain things are so amazing. Thanks

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

    This is so far the best Web dev channel I've found. Great stuff, and you're really good at explaining things.

  • @sylol3193
    @sylol3193 2 ปีที่แล้ว

    This is a great course. all the basic is covered in 1h tutorial. awesome work.

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

    Honestly I have to say this sad story, I have been watching tutorial for many years and this is the first time I understand this topic well specially Controllers. I have been trapped in the tutorial hells for years but now I am taking it very serious and this video helped a lot... Thank you!

  • @2difficult2do
    @2difficult2do ปีที่แล้ว

    Thank you very much for such detailed epxlanation! The best REST API tutorial for beginners. 👍

  • @kavita2491
    @kavita2491 2 ปีที่แล้ว

    Hello @Javascript Mastery...I was looking for REST API and I found your channel. The way you have explained the content kept me going on. I completed the entire video with enough understanding and it made my day giving me the required momentum to complete the assignments. Thank you for your time and efforts of putting forth the content in simple and concise manner. Looking forward for more videos including MongoDB.You rock 👍

  • @beenmicrophone5817
    @beenmicrophone5817 4 ปีที่แล้ว +3

    Awesome vid my guy. Thank u so much, the way u are able to explain all the little things along with the big things is really helpful, I always get stopped in my tracks when someone does something that i dont understand, u seem to cover that thought process every time!! 👍👍❤

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

    Amazing video!!
    I can't find the video with mongodb
    the video hasn't been released yet?

  • @premKumar-il1qy
    @premKumar-il1qy 4 ปีที่แล้ว +5

    at 20:31 "res.send(users);" gave me the objects in the browser, BTW great tutorial man keep going, thank you!❤️🔥

    • @javascriptmastery
      @javascriptmastery  4 ปีที่แล้ว

      Thanks!😊

    • @GabrielRodriguez-cr3vg
      @GabrielRodriguez-cr3vg 4 ปีที่แล้ว

      I only got the "Hello" response, but not the objects and I don't know why

    • @timw.
      @timw. 4 ปีที่แล้ว +2

      @@GabrielRodriguez-cr3vg because in the tutorial he only adds console.log(users);, but you need to change "res.send('Hello');" to "res.send(users);".

    • @GabrielRodriguez-cr3vg
      @GabrielRodriguez-cr3vg 4 ปีที่แล้ว +1

      @@timw. Thank you very much dude! :)

    • @timw.
      @timw. 4 ปีที่แล้ว +1

      @@GabrielRodriguez-cr3vg No probs dude :D

  • @BlingH
    @BlingH 4 ปีที่แล้ว +2

    Beautifully explained.🔥

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

    super useful tutorial! straight to the point!

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

    Top notch tutorial!

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

    Excellent, I learn an easy way with clear explanation. Thanks a much, really appreciate your effort.

  • @rickfearn3663
    @rickfearn3663 3 ปีที่แล้ว

    Outstanding clarity.

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

    El mejor curso de la vida para aprender Express

  • @Chromasophy
    @Chromasophy 2 ปีที่แล้ว +3

    Major BUG find ... @20:28 in users.js file -- res.send('Hello'');
    Then at 21:20 you come back to the screen it is changed to res.send(users);
    This is not good because you made the edit without recording it and showing us. it took an hour to figure where you made the mistake.

  • @ADPatil-rh2qf
    @ADPatil-rh2qf ปีที่แล้ว

    really amazing video I have ever seen on TH-cam.... appreciated🙌❤

  • @adududuke3995
    @adududuke3995 4 ปีที่แล้ว

    Awesome video ! Watched it without blinking

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

    Great tutorial! Thank you! Yes please, extend this this tutorial with full stack!

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

    Finallyyyt, brother waited a lot for your NEXT video!!

  • @grequchannel
    @grequchannel 3 ปีที่แล้ว +2

    Thanks a lot, I love your way of explaining stuff

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

    You sir ! R a great teacher !!

  • @kelolettek3927
    @kelolettek3927 3 ปีที่แล้ว

    the best teacher !!! very good explanation !!! thanks alot!

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

    This is a very GOOD video, you should make another part to connect with MongoDB!

  • @NalinJ
    @NalinJ 3 ปีที่แล้ว

    Finally found the best video for NodeJs. waiting for MongoDB one :)

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

    Next Video on MERN Stack with Authentication would be really helpful. Loved the video though ❤️Keep up the good work🙌

  • @matanamswapna428
    @matanamswapna428 2 ปีที่แล้ว

    Amazing video. Got to understand the basics! Thank you very much !

  • @arjungarg4075
    @arjungarg4075 4 ปีที่แล้ว +2

    Thanx for making this video , the way you explained is much better than any teacher🙏. Can we next video on a project on Content management system .

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

    Perfectly explained.

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

    Wow, Thank you so much, this type of video i am looking for, can you please do an separate video on this video using MongoDB