Node.js Crash Course Tutorial #2 - Node.js Basics

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ก.ค. 2024
  • Hey gang, in this Node.js tutorial we'll learn the basics of Node - the global object, modules, the file system and streams & buffers.
    0:00 -- node basics
    2:08 -- the global object
    9:21 -- modules & require
    18:49 -- node & the file system (creating, reading, deleting files etc)
    31:51 -- streams & buffers
    🐱‍👤🐱‍👤 JOIN THE GANG -
    / @netninja
    ----------------------------------------
    🐱‍💻 🐱‍💻 My Udemy Courses:
    + Modern JavaScript - www.thenetninja.co.uk/udemy/m...
    + Vue JS & Firebase - www.thenetninja.co.uk/udemy/vu...
    + D3.js & Firebase - www.thenetninja.co.uk/udemy/d...
    🐱‍💻 🐱‍💻 Course Files:
    github.com/iamshaunjp/node-cr...
    🐱‍💻 🐱‍💻 Other Related Free Courses:
    + Modern JavaScript Tutorial - • Modern JavaScript Tuto...
    + HTML & CSS Crash Course - • HTML & CSS Crash Cours...
    🐱‍💻 🐱‍💻 Node.js links
    + Download here - nodejs.org/en/download/

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

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

    As much as i wanna learn everything from you as fast as possible... I also hope you're not burning yourself out. I really enjoy your tutorials....but please have some rest as well and hope you're enjoying making these priceless tutorials.. really appreciate it

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

      I will take a break sometime soon... :)

    • @official.mhm13
      @official.mhm13 4 ปีที่แล้ว +8

      @@NetNinja Then we will miss you 😒

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

      @IMMADI SHYAM PRASAD bro use these ` ` these symbols are above tab key.. you might be using these ' ' these are single inverted commas. try this out

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

      @IMMADI SHYAM PRASAD those are string literals that you gotta be using, the backticks, i think its a new feature in es6.

    • @kimokimo-se3ur
      @kimokimo-se3ur 3 ปีที่แล้ว +1

      @@NetNinja you should because we needs you brother

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

    Man , I gotta say it : as a software engineer who keeps on building his technical assets , I can assert that your tutorials are far much valuable than most of the paid courses we find here and there !
    You're explanations are absolutely clear and you have a complete control on the technologies you're teaching !
    Your Git&Github Tutorial was the only one that allowed me to actually understand project version control .
    Big Shoutout to you !

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

      Thanks so much, really appreciate it! :)

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

    DUDE! This is a _massive_ gift to everyone.
    Thank you.

  • @Jay-eg7yt
    @Jay-eg7yt 3 ปีที่แล้ว +55

    This Node.js tutorial is so damn good it's like reading an Amazing book that you can't put down. I was hanging onto your every word waiting to see what would happen next. Each time we finished a chunk, I couldn't wait to start the next. It's like I know I'm late for dinner but I just couldn't leave until I finished the stream. Thank you for this gift!

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

    Was looking for node js tutorials on yt , this is the best playlist I've seen so far!! the way you explain is amazing!!! Everyone else on youtube is in a rush to complete the crash course and not explaining things neatly! You're doing a great job man!

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

      Hey Aryaman! Have you completed any projects in nodejs? Are you a fresher and interested in exploring job opportunities in web development currently?

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

    I've watched my fair share of tutorials online and this is hands down one of the best teaching styles I've entountered. Awesome!

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

    Just wanted to thank you for creating these tutorial video series. I find them well paced, with easily understandable but thorough explanations throughout. The best delivery of online tutorials I have personally come across (and I've watched a fair few). 👍

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

    Productivity level is blowing my mind 😲

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

      @IMMADI SHYAM PRASAD use backticks `hello, ${name}` its same as bash.

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

    I completed first tutorials on node js you made and they were amazing,cant wait till you make node and db tutorial.I am sure this is going to be biggest youtube channel for programming in the near future

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

    YOU ARE A GOD GIFT FOR ALL CODERS COMMUNITY ❤️❤️❤️

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

    This is great. For the past month I've been reading and watching various tutorials(including paid ones) trying to get started with Node, but not getting anywhere. This is the best and clearest info I have found and it finally feels like I've found something I can make progress with, I wish I'd come across your videos earlier. Thank you.

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

      That's great to hear, thanks for watching Daniel!

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

    Thank you for even explaining the command line and other non-node.js things. I already know most of them, but there are other things that I don't know and am glad that true beginners can look at this and understand what is going on. I don't mind being reminded of things, but that might be because I'm watching it at 1.5x speed. The intro to servers in your first video was great and the diagrams are clear and concise! Also, thank you for keeping your tutorials up-to-date and saving the web from excessive content that can become useless as we move forward.

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

    This guy is on fire....

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

      Just about to comment this!

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

      Yes! The guy is a machine...

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

      @@TheDanilodomingos ninja

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

      😅😅😅 yes fire and whole

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

    I have been through millions of videos of node js trying to learn this is the best I don't know why I did not start with you. You deserve way more subs.

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

      Also who disliked this masterpiece

  • @AkshayKumar-my4ey
    @AkshayKumar-my4ey 2 ปีที่แล้ว +3

    Top-quality tutorial - clarity, pacing, presentation, aesthetics - everything is so damn well done !

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

    I can't even describe how great the video is - you seem to possess an incredible teaching skill :)

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

      Thank you! 😃

    • @subid.majumdar
      @subid.majumdar ปีที่แล้ว +1

      @@NetNinja Hello Sensei, you can make other tutorials also in the future. You truly have an amazing teaching skill. You teach what we really need to know. Thanks again Sensei.

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

    I think it's great how your video on the basics of node.js were not literally the basics but some more advanced concepts such as file handling and io streams. Rather than the basics, some things we should be aware of.

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

    A ninja never stop learnings but pro ninja never stop teaching
    (◠‿◕)

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

    I think Shaun's teaching is improving with every playlist that he makes! I've watched many of his, and I can see the quality improving and improving!

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

    What a great way of teaching. You have cleared my doubts on streams, buffers and fs. thank you so much

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

    Dear Shaun, thank you so so much for these fantastic tutorials! They are wonderful!

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

    I learned Node.js from you in the past. It really helps me understand this tutorial. You taught well and I learned well:)

  • @AnujSharma-yr4rp
    @AnujSharma-yr4rp 3 ปีที่แล้ว +1

    I had soo many doubts and was totally confused while doing an online course on web dev, then I found your channel and I have been blessed! Thank you so much for these videos. Will recommend your channel to all my friends!

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

      Hello Anuj, have you created many projects in web development? Are you a 2021-passout and open to exploring job opportunities in web development?

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

    been programming for several years and I finally have a clue what streams are now, thanks to you!

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

    i just finished react native series and now here i am for this one.
    your way of teaching is very smooth and simple to understand

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

    Uncommonly good tutorial. You seem to understand the necessity of having the viewer understand what is ACTUALLY going on, rather than just saying 'type this, install this.'

  • @mikef.606
    @mikef.606 ปีที่แล้ว +2

    These are so good. I've looked at a few other tutorials on Node (even paid ones) and they all assume too much prior/related knowledge on the student. Thank you for making these, and for making them so accessible (difficulty level-wise) for us beginners. 🙌

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

      Thank you for the very kind comment Mike, glad you're finding them helpful :)

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

    I was about to give up on learning Node when I came across this video, awesome content! thank you so much.

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

    Mate your explanation of Streams was absolute class. Well done! You're an amazing teacher ❤

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

    Now, this is going to be the bestest Node js tutorial.

  • @user-mk5xh4gw1w
    @user-mk5xh4gw1w 11 หลายเดือนก่อน +1

    Thank you so much Shaun. This course is really amazing. Your teachings are very easy to understand. I just started learning backend and this course helps me a lot.

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

    I am writing code for 25 years, I wish I could send these videos to my past self

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

      not nodejs, it's a useless piece of crap LOL

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

      @@madd5 and what are u using for back?

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

      @@cseedrvr6627 i prefer java to nodejs, coz you are respected more as a java developer than the js developer in the community, but i like nodejs too, hence learning this now.

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

    I must say: You have an incredible ability in teaching others. Thanks a lot.

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

    As someone who learned React before Node I really appreciate this vid for explaining import syntax

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

    Great job man. Learned html css basics from your tutorials a year ago. And when I needed to learn node I started looking for tutorials and after one day of searching I remembered that my good friend The Net Ninja is the best. Really a very nice understandable explanation 👏👏👏.

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

    Hats off to you sir! You are an absolute powerhouse and a top tier teacher.

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

    You are a phenomenal teacher. I have learned css animations from your you tube videos, and now I subscribed to your Udemy Javascript course to go again through JS from beginning systematically. Thank You for your hard work.

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

      Awesome, thank you! Hope you enjoy the course! :D

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

    can't thank you enough , very sharp tutoring skills , you answer questions that pop in my head everytime

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

    I am not a developer, but I freelance technical content writing, meaning the fundamentals must be clear. You have done an amazing job!

  • @MuhammadAhmad-bx2rw
    @MuhammadAhmad-bx2rw 2 ปีที่แล้ว +4

    Everything is crystal clear. Great job.

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

    ammmazing tutorial. This tutorial series is by far my best for learning nodejs . Thank you very much! Thumbs up!

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

    So lucky to find you 🥺 Your channel is a treasure. Your lectures inspire me to keep learning

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

    that streams and buffers analogy tho! Couldn't have explained it better!

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

    I just wanted to say thank you man, really this is so easy to understand you do such a wonderful job. I am without words, thanks a lot again!

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

      same here mate Node.js is quite fun

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

    I'm going to repeat what many others have said...
    Your courses are FAR BETTER than any other paid course I've come across!
    Thank You
    🙏

  • @official.mhm13
    @official.mhm13 4 ปีที่แล้ว

    Thank You for this video... I had issues about Streams and Buffers previously, now they are much clear...

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

    This was really helpful, cheers!

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

    loved it, i already knew these concepts but after watching you explain i REALLY KNOW them now. thanks a lot🙏

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

    Best course!! Explained every point clearly..no doubts!! 👏👏👏👏👏👏

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

    In another year or two, when I'm done learning all of programming as I need to be taught before I keep at bootlegging at the rest of the rest as work may demand, I shall yet have one demand from you, The Net Ninja. That would be a course teaching how to teach, making us all able to teach even as well as you do. Thank you very much for being there for us!

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

    you're really the best at explaining, I learned a lot from all of your videos, thank you

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

    Outstanding clarity. Thanks so much.

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

    This tutorial is phenomenal, thank you!

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

    Show this to anyone that insists that programmers are necessarily awful teachers, because for the first time ever, I'm getting it ❤️🔥🙏🏽 You're awesome mate

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

    I'm thankful to you Sir ,A lot of lesson on your channel

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

    Thanks for these tutorials. Waiting for more . Net ninja makes everything a cake walk.

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

    This is not at all a crash course.. rather a very well explained in-detailed course!! Thank you soo much

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

    You are doing a really great job by helping us through these amazing videos.. Thank you so so much bro

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

    Thanks a lot for the amazing tutorial, I lack enough words to appreciate you , You made everything seem easy , You are the best

  • @uchennachukwuba
    @uchennachukwuba 7 หลายเดือนก่อน

    This is the only tutorial that explains node.js as it is. Thanks 🎉

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

    You're the best teacher! Thank you so much for making these

  • @peteremmanuelkitsamba4867
    @peteremmanuelkitsamba4867 7 หลายเดือนก่อน

    this is awesome. Everything is clear and elaborate

  • @rohitbadhai8219
    @rohitbadhai8219 10 หลายเดือนก่อน +1

    Best NodeJS playlist I have seen after exploring dozens of playlist

    • @NetNinja
      @NetNinja  10 หลายเดือนก่อน

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

    So far looks like the best tut I wasrecently through, I really LEARN here , thank You so much

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

    Shout out to the best Node JS tutorial so far on TH-cam. Arigato Gozaimatsu

  • @kostiantynkarzhanov9216
    @kostiantynkarzhanov9216 9 หลายเดือนก่อน

    Awesome tutorial! Thank you so much! 💛

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

    I would love a guide of exercises from every video from you, you are the best!

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

    you are a great teacher man
    I always learn a lot from you
    thanks a lot

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

    32:12 - Love that visual, even though I knew what streams are already conceptually... Continuing to watch because I've not used them in Node. :)

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

    Love this course ninja love your content!

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

    Thanks for making these tutorials. I went to a code boot camp and I gotta say I learned more from you than from them.

  • @xtan-yt
    @xtan-yt 6 หลายเดือนก่อน +1

    you got the best tutorials on youtube cheers.

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

    You are the best, Shaun... Godspeed. You've inspired my in soo many ways... Thanks or everything you're doing,,,

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

    I read this topic in eloquent JS book, but didnt understand well. You explained much better than book. thanks OG

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

    Este es mi canal favorito. Gracias Don Shaun.

  • @NeuronCode
    @NeuronCode 4 หลายเดือนก่อน +1

    You're saving me to get my first job. THANK YOU

  • @jahoopyjaheepu497
    @jahoopyjaheepu497 10 หลายเดือนก่อน

    Great stream analogy, really makes it clear and understandable

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

    wow this is much clearer than the old tutorial, thankyou

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

    i cant thank you enough for your videos. they are so easy to understand.helped me aloooot
    . thankyou tonssss.

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

    You are just awesome and always on fire! I love the way you go ahead with the concepts!!!!

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

      Thank you so much 😀

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

    Thanks man. This is the best gift I’ve received on net👏👏👏👏👏✊

  • @dev.regotube
    @dev.regotube 3 ปีที่แล้ว

    Holy crap! I watched the whole video, I learned so much! Thank you for making this great video!
    --from Japan

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

    that was crazy but easy thanks man lot's of love ...live long

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

    These videos are amazing. Great link from The Odin Project.

  • @furkanyalcn5718
    @furkanyalcn5718 6 หลายเดือนก่อน

    actually you are the best channel to learn node.js. Thank you ninja

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

    Dude you are brilliant in teaching and mentoring : )

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

      Thanks Subhajit, I appreciate that!

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

    I love your courses ! Thank you man

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

    Awesome tutorial and happy to find a updated one (almost finished the last one) - maybe an idea to put a link to the new one in the older ones so people don't do the same mistake as i did :)

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

    Great stuff already learned a lot again. Thank you. :)

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

    I usually don't comment, But your video is actually really in depth and a breath of fresh air. I've done django and some of the tutorials were just "It just works for me , so copy paste for you too"

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

      Thanks Hamees, appreciate the kind words :)

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

    I am observing many of your work and you have done really amazing work ..Best of luck..in whatever you do..thanks

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

      Thank you so much 😀

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

    Thanks for making this tutorial...you are helping a lot :)

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

    Sir I'm feeling blessed 😅 after I found your channel. You're amazing. I love your tutorials.
    Please Keep teaching us.
    Thank you so much
    God Bless you

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

    I can't believe this course is free! Thank you Net Ninja.

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

      You're very welcome Mondli! :)

  • @prabinmaharjan5150
    @prabinmaharjan5150 3 หลายเดือนก่อน

    even after 3 years, this playlist is my first choice to learn node js

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

    the best explanation of exporting modules I've ever seen thank you

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

    These are excellent tutorials! Thank you so much!

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

      Thanks for watching Derek!

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

    Tq Shaun for explaining hard concept in simple....I dont understand what is DNS and how it works in college but now I can say that I understood this concept...Tq for this amazing series...I wish I had the teacher like you....

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

    thank you very much for this series ❤️❤️❤️

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

    The best tutorial ever.