Improve your app security with CORS and CSP
Cross Origin Resource Sharing (CORS) and Content Security Policy (CSP) are HTTP response headers which when implemented help to improve the security of a web…
An introduction to session management for web application
A web session is a sequence of network HTTP request and response transactions associated with the same user. Modern and complex web applications require the…
Manage you own CA without manual configuration
In most cases you do not need to set up your Node.js server to us HTTPS/SSL since it is very common to deploy your backend behind a reverse proxy like Nginx…
An example implementation of a domain model
In the last article I described the implementation differences between entity objects and value objects where the most significant difference is that entity…
A small peek into how DDD can help you focus on the right thing
When I used to start a new Node.js project, I usually started with analyzing and modelling the RESTful API and possible the database schemas and models. This…
What is worker threads and - when and, how to use them in Node.js
Worker Threads are available in the Node.js module. Before we dive into my example use of Worker threads in Node.js, we will see what are worker threads and…
Node.js event loop explained
As a software developer it is very important that we choose our tools, platforms and methodologies, etc right. We need to decide what is the actual value we…
Node.js architecture - overview
As per Wiki : Node.js is an open-source, cross-platform JavaScript run-time environment for executing JavaScript code server-side. Historically, JavaScript was…