Learn Node.js – Full Tutorial for Beginners

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


ByRadz says:

great tutorial but the font is annoyingly big, it would be nice to see more than 3,4 lines of code on the screen

Shariq syed says:

2:00:00 got an empty string from the ajax request when using contentType on line 40 instead use ContentType

Bouladjeraf Smaine says:

thanks Sir for sharing your precious knowldge

Krishna Gain says:

Tutorial is very good
I need to know one thing but how you recording your screen means what the application are you using for can you tell me…

Paulo Cabello Acha says:

Amazing. Thank you guys!!!

Young Grizzly says:

All that to print Pedro….
Thanks for the knowledge I will be learning more about this in time.

Gadani Himan Gurusinga says:

So thankfull if this free :’)

bhuwan chaudhary says:

thanks for uploading node.js

Vaibhav Gupta says:

Hi sir,
I am facing problems using validation with joi, I have followed all the steps as you have demonstrated but upon submitting the form i am getting validation error stating “the value need to be an object”, I think that in my case the body parser is not able to convert the array of objects to objects and thus i am getting such error but i cannot understand why??

Fish Die says:

謝謝你的分享 讓我學到很多 Thank you for sharing. This is big help for me to learn!!

潘志鹏 says:


Anastasios Selalmazidis says:

Is the source code available ?

Man-on-the-Run says:

Very nice and beginner friendly tutorial … thanks a lot !

Adebiyi Adedotun Abidemi لقمن says:

good job

Prince Barpaga says:

Thanks a ton for this! Just what I needed! I was literally speaking to friend yesterday that I am planning to learn Node.js. Looking forward! 🙂

Anand Babu says:


subhan ali says:

thanks for this

TUSHAR says:

Are you really noob??

PaulN says:

Very useful for beginners. Thanks.

Student Gary Smith says:


Thank you.


“I’m using Visual Studio Code because it has an integrated Command Prompt.”

………….It does? I’ve been using it for Python and wish I’d known this earlier.

Vincent says:

Why would anybody give this a thumbs down? Four trolls a-trolling. Fa-la-la-la la…

Md Sumon says:

Am i first person who viewed this?

Johnny Driesen says:

Hi NoobCoder (Pedro)
THANKS a lot for this tutorial. Evrt super clear and very well explained.
Great examples as well.
I learned a LOT.
If I can ask … any plans to do smt with a Database integration ?

Syntax Logic says:

What are some example projects using Node.js?

Muhammad Ahmed says:

just say Wow

Pradeep says:

Am I the only one having trouble understanding the constructors that is being used in the starting classes?

Никита Корниенко says:

after installing node and starting visual studio code I did as you did up untill 7:00, but then I typed ‘node app.js’ and nothing happened!

Razva Cos says:

with Adonis.js it is easier :), but great tutorial.

NoobCoder says:

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.
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.

zedal1 says:

Finally, a nodejs tutorial that starts from the very basics. Most other tutorials on nodejs would jump into http server or some other complicated use of nodejs. In fact, this tutorial helped me understand callback functions, even though the tutor used anonymous version ( ) => of callbacks. Kudos and keep it up Mr Pedro. Will find your channel and subscribe. You are a very good teacher

Davinder Singh says:

Thanks lots

Hashim Warren says:

thanks for publishing this @noobcoder

sai sreenivas says:

Thank you

Mohammed Abdul Khaliq says:

Thank you.

 Write a comment


Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!