This will help you to avoid some common mistakes in advance and write better code. There was a lot of theory before but I think it’s super important to build a strong and correct foundation before moving to active coding. Official documentation is very nice so I recommend using it.īut if you're a visual person like me and you prefer to learn via videos, I recommend watching Mosh Hamedani Node.js tutorial for beginners: That’s why you need to learn some Node.js fundamentals before jumping to your first server. It’s not a big deal as you can run such a server with only 3 lines of code.īut what you should really care about is not how to create a CRUD server but how to work with Node.js. Most courses and tutorials immediately start with building a simple server with Express. While client-side JavaScript don't have that much asynchronous code, in Node.js you will use it all the time. You need to change the way you write JavaScript Node.js Event Loope explained by Ahmad Awais.I think every developer should also know about it and have a basic understanding about this difference to avoid some mistakes in future. Node.js is using a C library called libuv to implement the Event Loop. JavaScript in browsers and JavaScript in Node.js are working differently That’s why I think you should learn just a bit about it before writing some code.įor some people it may sound weird but there are two things you need to understand. In most of the cases and especially for the learning purposes you will definitely build REST APIs. It’s always good to read some info about the technology you want to learn and how it works in general. First stepsīefore you jump right into some courses or tutorials it’s always good to understand some basic things and prerequisites. I will assume you already have a solid understanding of JavaScript so I will not include it below. In this article I will try to draw a decent roadmap for the first steps in learning Node.js with the best resources I marked after learning it by myself. No wonder that many people are trying to taste Node.js right after JavaScript fundamentals. These days it’s probably the easiest way to become a Full-stack developer. JavaScript is a great programming language.
0 Comments
Leave a Reply. |