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

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

So, the obvious answer will be:

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.

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.

Before Starting With Our Project:

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

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.


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.


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