Spread the love
I want to learn Node.js but how do I start? This is the first question comes into our mind when we want to learn a new technology. Today, I am presenting you the roadmap, a comprehensive list of useful resources that you can follow to get up and running with Node.JS
If you are a beginner or an intermediate Node.JS developer, this contains the best resources to learn node.js for you.
About Node.js Roadmap
The term Node.JS roadmap often refers to the releases and future plans of the organization itself. If you happen to know that please visit Node.js Foundation Release Plan
In this post, we are going to see another Node.JS roadmap which is crafted to help you to learn Node.JS
What you must to know in Node.JS
The very first you would like to know if it’s worth learning for you or not. Here is the answer for you: Future Of Node.JS And Why You Should Learn Node.Js
So, we are determined to learn node.js and these are the checklist we need to priorities.
- Good Understanding of javascript and technical concepts behind NodeJS
- A basic idea of how NodeJS works under the hood
- Understand the event loop
- Difference between synchronous and asynchronous
- Understand Buffers, Streams, and Pipes
- Node modules and structure of a node application
- Use NPM and manage node packages
- Build a Web Server in Node and understand how it really works
- Implementing realtime features in Node.JS
- Writing test cases & automate them
- Build and deploy automation
How Node.JS works under the hood
Before jumping into coding, if you are interested to know how Node.js works under the hood, have a quick read on
- Understanding How the Chrome V8 Engine Translates JavaScript into Machine Code
- Node.js – under the hood
- How JavaScript works in browser and node
Getting Started With Node.js
First thing you need is a basic understanding of javascript. If you already have that it’s time to say hello world in Node.js
- Javascript Basics (MDN)
- Hello world in Node.JS (Tutorials Point)
- NodeSchool.io interactive lessons (NodeSchool)
- Mastering the Node.js REPL (Medium)
Understanding some important concepts in Node.JS
Understanding asynchronous programming and event loop is the most fundamental thing you need to grasp. Let’s have a look at them first.
- What the heck is the event loop anyway?
- Understanding Async Programming in Node.js
- Demystifying Asynchronous Programming
- Overview of Blocking vs Non-Blocking
Node.JS tutorial series
Once you get the best idea of asynchronous programming, let’s checkout few series of Node.JS tutorials
- W3School
- TutorialsPoint
- Youtube (by thenewboston)
Node.JS frameworks
Writing raw node.js code for each of the thing is very time consuming. It’s time we move into a framework. Well, there are tons of node.js framework. Which one you’d go for?
Roadmap for Express.js
As many beginners starts with Express.js, obviously any node.js roadmap post will come with a roadmap for express.js as well.
Here is a list of express tutorials I recommend to start with:
Database and caching
Now we need to store our data in our node application. Although MongoDB is the first one which comes into our mind learning NodeJS, but there is no hard rules for that. You can use any database you think suitable for your project.
- Node.js MongoDB Tutorial with Examples
- Writing a CRUD app with Node.js and MongoDB
- Getting started with Node.js and PostgreSQL using SequelizeJS
- Using Redis with Node JS
- API Caching with Redis and Node.js
Writing Realtime Applications
Why not we implement all the cool stuff we learned so far and build a realtime chat application
- Build a simple chat app with node.js and socket.io
- Creating a Chat App in Node.js With Express, MongoDB, Mongoose, and Socket.io
Power up your APIs with GraphQL
GraphQL is a query language for APIs that enables you to consume data from any client without defining any regular API.
- Creating A GraphQL Server With Node.js And Express
- How to set-up a powerful API with Nodejs, GraphQL, MongoDB, Hapi, and Swagger
- Build a Simple GraphQL API Server With Express and NodeJS
Making your own bot
Do you want to write your own messenger bot which will talk to you or your customer? Then, get ready to build a bot with a few easy steps in Node.JS
- Build Own Facebook Messenger Bot with Dialogflow and Node.js
- Creating a Simple Facebook Messenger AI Bot with API.ai in Node.js
- Building a Slack Bot with Modern Node.js
Microservices and building an API Gateway using Node.js
Building monolithic application is a given nature of any developers. How about trying microservice architecture now? Yeah! you heard it right. Building microservices in Node.js is pretty norm. So why not we take a look:
Writing tests for your code
Test cases are almost inevitable for large amount of code. Automated testing is as important as writing features.
- Testing Node.js with Mocha and Chai
- How to Test NodeJS Apps using Mocha, Chai and SinonJS
- JavaScript — Unit Testing using Mocha and Chai
Dockerizing your Node.js application
Everybody loves to ship their product isolated from outside environment and hence containerised. Really! Docker is not a buzz word but a very useful tool for modern application development.
- Containerizing Node.js Applications with Docker
- Node.js Docker workflow
- How to Debug a Node.js app in a Docker Container
Deploying node apps
- Deploying Node.js Apps on Heroku
- How to deploy a Node.js application to Amazon Web Services using Docker
- Deploying a Node App to Digital Ocean
Creating Serverless Node.JS APIs
At this time, you already did enough of node.js with a variety of frameworks and tools. Now we can see a different implementation of Node.JS
- AWS Lambda Tutorial: Lambda + Serverless
- Building a Serverless REST API with Node.js and MongoDB
- How to quickly create a serverless RESTful API with Node.js and AWS
- First Serverless App in Node.js with AWS Lambda + S3 + API Gateway
What you shouldn’t do in Node.JS
I already said enough of things you should do. You might be tired by now. But let’s hand on for a moment and see what you shouldn’t do in Node.JS
- The Top 10 Most Common Mistakes That Node.js Developers Make
- Seven Things You Should Stop Doing with Node.js
Securing your Node.JS API
Writing insecure code is like building a boat which is not going float rather sink. The last but not least topic we need to learn, is writing a secure code.
- Securing Node.js RESTful APIs with JSON Web Tokens
- Building and Securing a Modern Backend API
- Best Security Practices for production Express.JS
- Architecting a Secure RESTful Node.js app
Bonus
If you followed this nodejs roadmap so far, you already aware of the best resources for learning node.js and you have almost everything you need. But it’s not the end of learning. I’ve got a few other things you might be interested in, such as The Art of Node and many more
Videos for learning node.js
- Node tuts
- Introduction to Node.js with Ryan Dahl
- Node.js: Asynchronous Purity Leads to Faster Development
- Parallel Programming with Node.js
- Server-side JavaScript with Node, Connect & Express
Node.js Books
- Node.js the Right Way: Practical, Server-Side JavaScript That Scales
- Beginning Node.js
- Node.js in Action
- Design Patterns – Master best practices to build modular and scalable server-side web applications
Blogs
Awesome Node.js
Finally, it’s worth to check out for some awesome node modules built by passionate node developers.
- Awesome Node.JS (Github)
Conclusion
I hope I could cover most of the important things you need to learn in this Node.JS roadmap. If I missed anything or you found this useful, please let me know in the comment below.
The best resources to learn node.js? Then let your friends know by sharing this article.
Понедельник, Октябрь 1, 2018