Basic work flow of job scheduling in web application. Source

What does Job Scheduler do?

Job schedulers are designed to carry out such processes from our application, which doesn’t require to be run on main request-response cycle of system. Instead it can be execute as background process e.g. Send email to end user.

Let’s dive little deeper in this scenario for better understanding of “Why do we need of Job Schedulers in our application?”

Let say, I registered myself on a website, where after the successful registration, one welcome mail is going to trigger. Now assume, time consumed in registration is 1 second and in sending email is 2 second. So total amount of time…


For scenario 2: Mobile Clients, can't we use combination of session method & jwt token? It's just my thought I may be wrong. What you think?


Photo Credit: rosyshrestha

Hello folks 👨‍👨‍👦‍👦, today I’m gonna guide you step-by-step, “how to host 🚀 your NestJs typescript backend server on Heroku”.

Reason of writing this article is, when I tried to host my NestJs app on heroku, I ran into a problem of Application Error 😟 even build was successful 🙎‍♂️

Then I started scratching the surface & did bit of Googling to find the answer. …


Image Source

Array is a data structure which can hold more than one value at a time. Most of the programming languages like C, C#, Java, Javascript etc, supports array data structure but the major difference of JS array is, unlike C or Java, it can hold different types of data at a same time. So we can say Arrays in JavaScript are heterogeneous.

Let’s dive into the methods.

Map

Array.map() used to iterate through an array elements. It returns a new array populated with result of provided method on each element of array. Array.map()


Image by digital designer from Pixabay

What is Heroku?

From Heroku’s official website — “Heroku is a platform as a service (PaaS) that enables developers to build, run, and operate applications entirely in the cloud.”

Heroku is basically a hosting platform, which supports/deploys dynamic applications which are written in a variety of programming languages like Php, Rails, NodeJs, Python, Scala, Go, Java and many others.

I would strongly prefer the heroku for the purpose of demoing your projects/sites.

Drawback of Heroku

Heroku doesn’t deploy the static website or pages. So, to do that we need to trick the heroku by creating our static website into a php project. …

Shivam Verma

there are 10 types of people in this world, those who understand binary and those who don’t.

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