top

6 Awesome Things You Can Do With NodeJS

In today’s era, a computer can do almost anything. It is all possible because of daily invented new programming languages and technology. And, NodeJS is one of them. It is one of the most buzzing words today. NodeJS is an open-source server-side run-time environment built on Google Chrome’s JavaScript V8 Engine. It’s the old wrapped in new. In simple words, we can say that it is the server side version of JavaScript. So, it also makes the front-end developer happy who always wanted to start work in back-end technology. NodeJS event-driven nature makes it capable to handle multiple requests at a time. 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.1. Remote Control Slideshow PresentationWouldn’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.2. Group Video ChatGroup 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.3. Multiplayer GameWhen 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.4. Music PlayerOne of the reasons NodeJS is being loved is “A lot of pre-built modules”. We can find almost any module for anything on NPM(node package manager). It has a lot of modules for music player also. From command line music player to desktop player, it has a lot of APIs. Beside npm APIs, NodeJS has electron framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so we can focus on the core of our application. Here is a music player web app developed using the electronJS framework. You can find a working project here with source code.There is also an API from the musicplayer.io5. Internet of Things (remote control car, PC etc..)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. 6. Create cool mobile appsWhat 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.ConclusionHope 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.
Rated 4.5/5 based on 8 customer reviews
Normal Mode Dark Mode

6 Awesome Things You Can Do With NodeJS

Aman Kumar
Blog
14th Jul, 2018
6 Awesome Things You Can Do With NodeJS

In today’s era, a computer can do almost anything. It is all possible because of daily invented new programming languages and technology. And, NodeJS is one of them. It is one of the most buzzing words today. NodeJS is an open-source server-side run-time environment built on Google Chrome’s JavaScript V8 Engine. It’s the old wrapped in new. In simple words, we can say that it is the server side version of JavaScript. So, it also makes the front-end developer happy who always wanted to start work in back-end technology. NodeJS event-driven nature makes it capable to handle multiple requests at a time. 

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


1. Remote Control Slideshow Presentation


Remote Control Slideshow Presentation

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.


2. Group Video Chat

Group Video Chat


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.


3. Multiplayer Game

Multiplayer Game

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.


4. Music Player

Music Player

One of the reasons NodeJS is being loved is “A lot of pre-built modules”. We can find almost any module for anything on NPM(node package manager). It has a lot of modules for music player also. From command line music player to desktop player, it has a lot of APIs. Beside npm APIs, NodeJS has electron framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so we can focus on the core of our application. Here is a music player web app developed using the electronJS framework. You can find a working project here with source code.

There is also an API from the musicplayer.io


5. Internet of Things (remote control car, PC etc..)

Internet of Things

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.

 

6. Create cool mobile apps

 Create cool mobile apps

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


Conclusion

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.


Aman

Aman Kumar

Author

My name is Aman Kumar and I'm a Full-stack developer, geek, enthusiastic, travel-lover. I would love to share my knowledge with fellow professionals.


Website : https://github.com/Aman83770

Leave a Reply

Your email address will not be published. Required fields are marked *

Top comments

Paul Daniel

30 November 2018 at 3:38pm
It’s really really great information, thanks.

SUBSCRIBE OUR BLOG

Follow Us On

Share on

other Blogs

20% Discount