• Monday , 9 December 2019

Learn Node.js – Full Tutorial for Beginners

Code Canyon



Node.js is an open-source, cross-platform JavaScript run-time environment that executes JavaScript code outside of a browser.

Learn all about Node.js in the full course for beginners.

🔗Install Node.js: https://nodejs.org/en/
🔗Install Visual Studio Code: https://code.visualstudio.com/

⭐️Course Contents ⭐️
⌨️ (0:00:00) Installing Nodejs
⌨️ (0:05:22) Working With Modules
⌨️ (0:14:40) The Events Module and EventEmitter Class
⌨️ (0:22:32) Working With The ReadLine Module.
⌨️ (0:34:36) Working With File System Module (Creating,Reading,Deleting,Renaming) Files
⌨️ (0:45:04) Working With File System Module. Creating and Deleting Folders
⌨️ (0:57:36) Working with Readable and Writable Streams
⌨️ (1:02:40) Why you should use Streams
⌨️ (1:05:41) Pipes and Pipe Chaining. (Readable,Writable and Transform Streams)
⌨️ (1:12:36) Creating a Http Server using the Http Module
⌨️ (1:17:52) Serving Static Files with Http and File System Module (html,json,image)
⌨️ (1:24:30) Create our Package.json using Npm Init
⌨️ (1:27:18) Installing Packages using Npm (Node Package Manager)
⌨️ (1:32:23) Semantic Versioning
⌨️ (1:36:42) Getting started with Express Web Framework
⌨️ (1:40:48) Working with Express Http Get Request, Route Params and Query Strings
⌨️ (1:49:52) Serving Static Files with Express
⌨️ (2:54:36) Http Post Request with Express and Body Parser Module
⌨️ (2:00:17) Working with JSON Data with Express and the Body Parser Module
⌨️ (2:07:40) User Input Validation With Express And JOI
⌨️ (2:15:24) User Input Validation with JOI Validating Nested Object and Arrays
⌨️ (2:22:34) Getting Started With EJS Templates With Express
⌨️ (2:35:22) How does MiddleWare Work and Creating Custom Middleware
⌨️ (2:42:49) Working With The Express Router

Tutorial from NoobCoder. Check out the NoobCoder YouTube channel: https://www.youtube.com/channel/UCV9MhzHCMx0Y83b5F8HWv-Q

Learn to code for free and get a developer job: https://www.freecodecamp.org

Read hundreds of articles on programming: https://medium.freecodecamp.org

And subscribe for new videos on technology every day: https://youtube.com/subscription_center?add_user=freecodecamp

Original source

3d Ocean

Related Posts

46 Comments

  1. NoobCoder
    November 17, 2019 at 18:53

    I Would just like to thank FreeCodeCamp for giving me the honor of having my video on here.
    If you guys have any questions what so ever feel free to ask me on my youtube channel.
    https://www.youtube.com/noobcoder
    Or post your questions here. I'll come here every so often to try to answer as many questions as possible.
    Just don't ask me to do your homework is my only stipulation XD.

  2. Joe Arend
    November 17, 2019 at 18:53

    Great video to watch at 1.5x speed, the talking pace was a bit slow. Good content though.

  3. Little Monk
    November 17, 2019 at 18:53

    Many thanks for the long tutorial. It was perfect, except you could have not zoomed it so much as a much smaller font would have be easily readable and we could have benefited by seeing the whole page rather that scrolling up and down. Also it would have been better if the Dev Toll panel was on the right rather than the bottom.
    Thanks again

  4. AvraHeem مجن
    November 17, 2019 at 18:53

    Thank you so much man. God bless you.

  5. scorpiocyborg
    November 17, 2019 at 18:53

    4:29 another trick to do this is going to your requested path, and type cmd where the file location is and hit enter 🙂 this opens a cmd in the current directory ur in.

  6. insta - ستوري
    November 17, 2019 at 18:53

    note for beginners , from Iraq :
    require (es5 and down) = import (es6 and up)
    module.exports (es 5and down) = export (es and up)

    and there is no es6 engine so you already use require and module.export under the hood

  7. TottiBln
    November 17, 2019 at 18:53

    Best nodejs tutorial ever!

  8. Devdspriing Olorunjuedalo
    November 17, 2019 at 18:53

    I try to install nodemon but i get some errors

  9. Gillerz100
    November 17, 2019 at 18:53

    anyone have any issues when trying to run on localhost:3000 on the second piece of code he does with the '/' being introduced? My pc spends ages loading just to show a blank screen

  10. Mackie
    November 17, 2019 at 18:53

    Great video! Very useful! Thank you 🙂

  11. Deepali Srivastava
    November 17, 2019 at 18:53

    It says tutorial is not a function

  12. Pol YT
    November 17, 2019 at 18:53

    I totally recommend this video!!! Thank you for teaching Vanilla node.js !!

  13. Shashank Sharma
    November 17, 2019 at 18:53

    Best tutorial that what do i say…………

  14. ANTHONY UDEAGBALA
    November 17, 2019 at 18:53

    Awesome tutorial.
    I had an issue while trying to make use of the "path" module. Non of my external files was served, just the index.html files. how do i debug this issue please…

  15. Samuel Mugi
    November 17, 2019 at 18:53

    this is very inforamtive and very clear. Thank alot.

  16. David Obichukwu Omego
    November 17, 2019 at 18:53

    Hey, nice video about the readline module. If you enter Ctrl + C in the command line it triggers the rl.on("close") event, and then go on saying you are correct. I think you can correct this by creating a child class and editing the close event call back and you can pass a parameter to know where it was fired from. Get it??

  17. Romeo Obane
    November 17, 2019 at 18:53

    Great tutorial, thanks much 🙂

  18. Jawher AMMARI
    November 17, 2019 at 18:53

    Truly great course

  19. vinay kumar
    November 17, 2019 at 18:53

    04:23

  20. Rizwan Ghanchi
    November 17, 2019 at 18:53

    you are just coding but you are not giving knowledge very bad video

  21. Bal Loney
    November 17, 2019 at 18:53

    re: "rl.question(`What is ${num1} + ${num2}? `," (line number 8)

    It took me 3 hours to figure out why it is printing "What is ${num1} + ${num2}?" instead of "What is 4 + 11?" (whatever the random numbers). Then I put my eyes closer to the monitor of my laptop and noticed that I should use (`) instead of ('), the former is on the leftmost of the keyboard, while the latter is below the double-quotes. What makes the difference? I almost gave up.

  22. Atiqur Rahman
    November 17, 2019 at 18:53

    This course is very good. However not everything is explained. So, I suggest you to go over the node tutotials on w3schools and then watch this. Your concept will 200% clear and you might start calling yourself a node.js dev. Good luck mates!

  23. HardCorn12
    November 17, 2019 at 18:53

    if ' What is ${num1} + ${num2}?' prints out the string without the variables its because you need to wrap the string with “(usually in the ~ button) and not ' the regular single qoutation mark ' '
    just thought it might shorten someone time…

  24. CurlyDoctor
    November 17, 2019 at 18:53

    thank you (:

  25. stanislas nihora
    November 17, 2019 at 18:53

    well, it is good that the code is readable.We can see every thing;

  26. David VendeL
    November 17, 2019 at 18:53

    If someone struggles with error "ValidationError: child "email" fails because ["email" is required]" at around 2:14:00, this code will help:
    let object = {};

    req.body.forEach(element => {

    object[element.name] = element.value;

    });

  27. David VendeL
    November 17, 2019 at 18:53

    So 2:00:17 – what is the benefit of preventing sending data via default submit post method, and rewriting it into ajax request?

  28. Cristiano
    November 17, 2019 at 18:53

    Very usefull video. It covers most importants arguments, great!! Thanks! (why he's making a video course at 4.10 AM(?!)) funny…

  29. Srijan Paul
    November 17, 2019 at 18:53

    I thought it was videogamedunkey at first

  30. Rynar
    November 17, 2019 at 18:53

    I wish you'd somehow reduce the text size and closed the terminal if not being used. It was hard keeping track when you only see 5-6 lines of code in preview. Nonetheless, it was pretty great and pretty clear.

  31. Nirbhay Sharma
    November 17, 2019 at 18:53

    Will I be able to make a backend server after watching this tutorial?

  32. Pastor Fred
    November 17, 2019 at 18:53

    Thanks Sir, this was really helpful

  33. Anthony Kosky
    November 17, 2019 at 18:53

    I've been using node for quite a while, but this is a very helpful refresher. Thank you!

  34. Vishal Singh
    November 17, 2019 at 18:53

    not getting output in console.log("hello world") do I need a localhost server

  35. Uzma Khan
    November 17, 2019 at 18:53

    57:36

  36. Mascara 13
    November 17, 2019 at 18:53

    There is a misspelling at 1:27:18

  37. Mascara 13
    November 17, 2019 at 18:53

    It would help a lot if there was a link to all these exercises on GitHub.

  38. TottiBln
    November 17, 2019 at 18:53

    I love the voice!

  39. Alexandru Curca
    November 17, 2019 at 18:53

    Thank you very much for this tutorial, helped me a lot to get started, didn't stop for anything, very well explained!

  40. Kashyap Parikh
    November 17, 2019 at 18:53

    what to do when i have not visual studio?

  41. Sivaul Ummah
    November 17, 2019 at 18:53

    Hi pedro, i'm sorry before for ask this question. When i'm hit ctrl B in minutes 58:28, nothing happened, no file example.txt created, what happened? Thank you for your answer.

  42. Yashwanth Chigari
    November 17, 2019 at 18:53

    great video! Are there any other server side validation packages as joi is deprecated?

  43. Parag Shah
    November 17, 2019 at 18:53

    Hello, Thank you for sharing video. Could you please share the code on Github so we can download it.

  44. Ramasamy NP
    November 17, 2019 at 18:53

    Awesome video

  45. Eyas Tayyem
    November 17, 2019 at 18:53

    Thank you for the great video!

  46. Jeremiah Vernon
    November 17, 2019 at 18:53

    Hey guys when you get to this part `what is ${ num1 } +${ num2 }? n`, don't use the regular apostrophe. if you wan to include a variable in your string use the key to the left of number one. i missed when he said that. I will be leaving solutions to problems i find in comment replys to this one. please check them out.

Leave A Comment

You must be logged in to post a comment.