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”

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)”

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”