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 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.
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.
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.
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 .
Express.js, or simply Express, is a back end web application framework for Node.js
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.
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: