Have you ever given an interview for a position as a Node.js developer?

The first question usually asked by an interviewer is :

Can you tell me about Node.js and why is it popular?

So, the obvious answer will be:

Node.js is a server-side JavaScript run-time environment. It’s open-source, including Google’s V8 engine, a Libuv for cross-platform compatibility, and a core library. Notably, Node.js does not expose a global “window” object, since it does not run within a browser.

Node.js is primarily used for non-blocking, event-driven servers, due to its single-threaded nature. …

Protocol Buffer aka protobuf is the most commonly used IDL (Interface Definition Language) for gRPC. It is a high-performance, compact binary wire format invented by Google who uses it internally so they can communicate with their internal network services at a very high speed.

Why use protobuf instead of JSON and XML?

JSON and XML are the most commonly used to send and receive messages in the REST API and RPC method. Out of this JSON is the most popular format as it is flexible, efficient, platform-neutral, and human-readable. But for some cases, these formats are not fast enough or lightweight enough when transmitting data between the systems…

A programmer's life is full of ups and downs. Sometimes, there is not a lot going on and sometimes it feels like the whole world's problems fell on our back. In a small amount of time, we have to find a solution to the problem. So, to be productive is the biggest challenge for any developer.

As we all know, there is a huge demand for productive engineers. Not only are they able to code faster but they are also able to write high-quality code.

Why productivity matter?

Programming productivity (also called software productivity or development productivity) describes the degree of the ability…

A HTTP multipart request is a HTTP request that HTTP clients construct to send files and data over to a HTTP Server. It is commonly used by browsers and HTTP clients to upload files to the server.

In terms of backend or server side perspective, uploading a multipart/form-data can be challenging. Developers who are new, may struggle to understand how to call an api endpoint which consist of Content-Type: multipart/form-data.

http request

But, don’t worry it is same as calling the api end point with Content-Type: application/json. …

In this article, I’ll show you the step by step process of starting a RESTFUL API using node.js and express.js .


Node.js is an open-source, cross-platform,back-end, javascript runtime environment that executes JavaScript code outside web browser. Node.js lets developers use JavaScript to write command line tools and for server-side scripting— running scripts server-side to produce dynamic web page content before the page is sent to the user’s web browser.

Express.js, or simply Express, is a back end web application framework for Node.js

Before Starting With Our Project:

If you have never used node.js or npm package you should install it first.

To check if node…

Cryptography is a method of protecting information and communications through the use of codes so that only those for whom the information is intended can read and process it.

There are different ways to encrypt and decrypt data in javascript. Here I have given a short example for tweetnacl one of the packages to encrypt and decrypt data.


NaCl (pronounced “salt”) is an abbreviation for “Networking and Cryptography library”, a public domain “…high-speed software library for network communication, encryption, decryption, signatures, etc.

NaCl was created by the mathematician and programmer Daniel J. Bernstein.


To install tweetnacl via a package manager:

Lizen Shakya

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store