Running a NodeJS server with NginX and HTTPS

Many time Nodejs/Express web developers or MEAN stack developers feel very inconvenient when it comes to deploying their app or services on a server. To run a server on a remote machine and to access it without the hassle of adding colons (:) with the port number requires a certain different approach. Another problem that arises is how to set up an https server.

You don’t want your users to add a port number everytime they want to visit your web application even though when you have a domain name. Also, no one wants to visit a website or web application which doesn’t run on an HTTPS server ( “it is not secure” ).

Continue reading “Running a NodeJS server with NginX and HTTPS”

Revisiting the OSI Reference Model

Networking is the term used when people talk about connecting computers together so that they can share information or resources with each other.

OSI model is a logical model for how systems in the network should communicate to each other. All the model does is to break down all the components for communication and arrange them into layers.

Most of us consider OSI as a dominion for outlining a network or as a model which tells us how networking functions. But all OSI is 7 logical layers that allow you to think about a network and then figure out how to build that network or how to fix it.

To understand how all these work is much easier if you focus more on what individual is?

The layers from top to bottom are for what is closer to the end user. So, what the user is interacting with will be at the top, to the layer which is shooting the information out into the network itself.

So we will start the count from 7 not from 1. So, let’s get started. . . .

Continue reading “Revisiting the OSI Reference Model”

VARIEGATION (IoT Based Home Automation System)

“Imagination is more important than knowledge. For knowledge is limited, whereas imagination embraces the entire world, stimulating progress, giving birth to evolution.”
Albert Einstein

What is VARIEGATION?

Inspiration


I had been doing “IoT” for quite some time now. I wanted to try out something through which I could understand IoT as a whole. If you want to know more about IoT, You can read What is IoT ? and To start with the IoT Architecture and Reference Model.

Continue reading “VARIEGATION (IoT Based Home Automation System)”

IoTization – A general purpose IoT Platform (Part – II)

Express App – Bare minimum


If you have not seen the first post I would suggest you view that first.
IoTization – A general purpose IoT Platform (The planning)

We have already discussed the architecture of our project in the previous article. In this post, we will start building the NodeJs based Express application for the backend of our project. NodeJs and Express are a part of very powerful and easy to build web development stack know as the MEAN stack. We will discuss more of the MEAN stack in a different post. For now, MEAN stands for M- MongoDB, E- Express, A- Angular, N- NodeJs.
Continue reading “IoTization – A general purpose IoT Platform (Part – II)”

IoTization – A general purpose IoT Platform (Part – I)

The planning


One minute of planning can save five minutes of execution

Inspiration

I had been working in the scope of IoT for quite a while now. Every other day I require testing some devices, primarily their connectivity and data transmission over networks. Sometimes I don’t have access to the internet.
Continue reading “IoTization – A general purpose IoT Platform (Part – I)”

What the heck is NLP (Natural Language Processing) ?

We have been interacting with computers or any other device otherwise for a very long time. We started interacting with contemporary computers with keyboards, then upgraded to mouse and various type of input devices. Since then the progression of interaction techniques with the computer has been on a race. Now we have touch screens, web UI and native software applications for handheld devices. Here we have a fixed number of options or ways to interact with the system, that is obviously visible on the screen or window of the application. The usability of the user interface is designed by a developer who has developed that circumstantial application. As developers, you know that how imperious or easy, designing an application can be? That depends on the complexity and requirements of the application or software that you going to write. Continue reading “What the heck is NLP (Natural Language Processing) ?”

Swim across some Linux wifi accessories

We have been using Linux and wifi for a long time. There is nothing distinct or surprising in this. Here I am discussing some basic Linux tools which can enhance the way use your wifi on a Linux machine or give you some advantage over normal Linux users.

Continue reading “Swim across some Linux wifi accessories”

Linux Socket Programming

A socket is just a logical endpoint for communication. They exist on the transport layer. You can send and receive things on a socket, you can bind and listen to a socket. A socket is specific to a protocol, machine, and port, and is addressed as such in the header of a packet.

Continue reading “Linux Socket Programming”