Welcome to the second part of a series of articles about writing a real-life scalable, performant, and maintainable backend in Node.js. Be sure to read the previous parts:

Part I: Architecture

Stay tuned (or follow me) for the upcoming parts!

In my first article in this series, I briefly described the general architecture of the solution. Now, it’s time to go a bit deeper and explore how such a project can be set up and structured.

Let’s start with the setup. Firstly, we need to install the NestJs CLI that can be used to handle all actions related to NestJs…

Node.js has been gaining prominence in the last years — in the 2020 Stack Overflow Developer Survey, Node.js hit the top spot in web frameworks, libraries, and tools for the second time in a row among with a score of over 50%. Node.js is reported to be used in a range of endeavors, starting from todo apps and ending in corporate projects at Linkedin, Microsoft, or Netflix.

But what about back-end services? Quite frankly, that doesn’t say anything about how Node.js is used — and since it’s hard to imagine a modern front-end JavaScript project without using Node.js …

By What’s On the Air Company — What’s On the Air, July 1930 (page 45)

Have you ever heard about theremin? If you’re into spy stories, you’ve probably heard of The Thing, a listening device developed by Leon Theremin. If you’re a fan of The Big Bang Theory, this name probably rings a bell (pun intended!):

Pretty neat, huh? And you know what’s even neater? It’s possible to build one in JavaScript! Cool, right? And that’s not even the best part. What do you think is the best way to control the pitch? The mouse? Come on, that’s so 1992. A true theremin should be controlled without the need to touch anything. …

Photo by Samuel Sianipar on Unsplash

A mind is a terrible thing to waste, and one of the fastest ways to do it is not keeping it open enough. Although most of my development career I’ve spent writing in JavaScript and I love this language, I’ve never considered myself a JavaScript developer. I never had problems with writing in Java, Python, or C# when there was a need, and I also like to explore languages that I don’t have knowledge about and try to get the best out.

This was exactly the case with Elixir — one of my colleagues in my previous company talked me…

JavaScript is known for its many prominent features, one of which surely isn’t the overabundance of method in its standard library. One of the exceptions to this rule is the methods in the Array object prototype — JavaScript provides everything you need to process one’s data. Let’s see what’s in store!

Photo by Eugene Zhyvchik on Unsplash


This is probably the most straightforward built-in method and the first one that everybody starts to use. To put it the simplest, it does the same thing that a for loop does, but in a bit less performant manner. It might provide additional readability (but not for free —…

This is what frontend apps looked like before 2016 (Photo by Hulki Okan Tabak on Unsplash)

Front-end development has always been a bit of a younger brother in the web apps family. While front-end developers wandered about with their beanies, moustaches, MacBooks and fancy coffee, developing exciting new flashy web sites with their 15 minutes-old JavaScript frameworks, their colleagues from the back-end department couldn’t help but look at them pitifully thinking: “oh, my sweet summer child, what do you know about web development”?

Backend developers are a bit like ”The Simpsons” TV show — whatever you think of, the Simpsons already did it. React server-side rendering was a thing a few years ago. So what? Java…

Piotr Jaworski

Head of New Tech @Jit Team

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