It is powerful enough to handle a large traffic site like Paypal.
It is fast enough to handle the most used site for video buffering Netflix.
It is so good in handling requests to support an app like Uber.
There are a lot of IT giants who are using NodeJS because of its awesome features. So, in this blog, we will see the power of NodeJS and what awesome things we can do with it.
Wouldn’t be awesome to control your presentation’s slides with your smart-phone swipes. With NodeJS and Socket.io we can achieve this easily. The concept is very simple. We will use Reveal.js API to make our slideshow. Reveal.js puts every slide number in URL with hashtag e.g. We will send this URL to every connected user and when they swipe URL will reflect and slide will change. We will use a passcode to connect with this URL(establish socket connection). Here is a full working code of this idea. Here is a reference of this project, click here.
Group Video call is another real-time application you can develop with NodeJS. NodeJS and Socket allow you to establish a connection and make a room. We can add peers to that group and it is simple to initiate a voice or video call over a server with the use of WebRTC API. Talky is an example of this project. It allows their visitors to make a room and start a group video call. It also uses Nodejs, Socket, and WebRTC for this purpose. There is a demo of WebRTC.
When we talk about real-time events, NodeJS and Socket.io come into the picture, and a multiplayer game is one of their real-time application. So, we can also build a multiplayer game using nodejs and Socket.io. For this, we need to make a nodejs server and establish a socket connection for every player and emit event of our game logic on every move. Here is an example of a card game that is developed using NodeJS and Socket.io. And, here is a reference for this project.
Internet of things(IOT) is also one of the buzzing word today. Google home, remote control car, smart TV etc, these all are examples of IoT. But, how can we use NodeJS in IoT applications?
Node.js is known for its speed, scalability, and efficiency — making it great for developing data-intensive, real-time applications. This, of course, makes Node.js well-suited for the IoT, which is reliant on data-intensive, real-time devices and applications. Devices within the IoT, such as sensors, beacons, and wearables, generate large floods of requests. Node.js is well-suited for managing these requests via streams that can be processed and monitored very efficiently. In fact, the Node Packaged Modules (NPM) repository is an indicator of the association between these communities. It includes more than 80 packages for the Arduino controller, over 15 for Bluetooth Low Power, and multiple packages for the Pebble and Fitbit wearable devices.
We can also control a car with our smartphone using a raspberry pi and NodeJS server. Just host your pi on node wireless web page and open this on your smartphone, where pi will work. A working code on this idea is here.
What if you want to create a mobile version of your web application? Of course, Node.js will work just as well for building a responsive web application. But, you’ll want an install-able application iOS, Android and potentially Windows that can take advantage of the app marketplaces.
NodeJS also provide frameworks for mobile app development like Meteor.JS, Mojito.JS. Meteor.JS is a full stack framework for web and mobile app development. Hereis a tutorial on how to build mobile and web app with Meteor.JS on its official site.
Hope you understand how powerful NodeJS is and what can we do with it. Although it's just a glimpse of the much bigger picture. NodeJS community is so large and there are a lot of developments available. This is the main reason why NodeJS is becoming favorite of developers.