πŸ‘‹ Hey there,I'm Dimitri

I like trying out new frameworks and writing about them. Below you can find the latest articles I wrote.


Testing your REST controllers and clients with Spring

April 2nd, 2019 | 8 min read | mockmvc, REST, Spring, Spring boot, Testing

That Spring allows you to easily develop REST APIs, is probably something we all know by now. With MockMvc and MockRestServiceServer, the same can be said to testing those REST APIs and clients. If you didn’t know this, then you’re at the right place to learn about it, as we’ll explore those options today!

Containerizing your static web project

March 19th, 2019 | 5 min read | Docker, nginx, NPM, Web

Last time, we’ve seen how we can set up a simple web project using Babel and Webpack. More precisely, we’ve seen how we can both run and build the application.In this article, we’ll see how we can containerize such a project using Docker.

Starting a web project with Webpack and Babel

March 5th, 2019 | 7 min read | NPM

When starting a new web project, you often use some libraries. Nowadays, these libraries usually come with tools to scaffold your project. However, in certain cases you don’t want to rely on these libraries. For that reason, we’ll demonstrate how you can set up your own project with Webpack and Babel.

Monitoring with Micrometer, Prometheus and Grafana

February 19th, 2019 | 6 min read | Docker, grafana, micrometer, prometheus, Spring boot

Monitoring is an essential aspect to the maintainability of applications, it’s no surprise that there are many platforms out there that allow you to properly monitor your applications. Usually, monitoring platforms work by using a time series database, which is a database optimised for time-based information, such as application metrics. Then on the other hand […]

Using WebSockets with Angular

January 22nd, 2019 | 14 min read | angular, rxjs, WebSockets

In my previous tutorial, I’ve set up a Spring boot application that allows WebSocket communication rather than serving a traditional REST API. Today, we’re going to find out how to communicate to that backend using Angular.

Using WebSockets with Spring boot

January 8th, 2019 | 7 min read | Java, Spring, Spring boot, WebSockets

A few years ago, I wrote an article about using WebSockets with Spring and AngularJS. However, the technologies have evolved over the years. That’s why I decided to write some up-to-date follow-up articles using the latest version of Spring boot and the latest version of the Angular framework. In this first follow-up article, I’m going […]

Using Jest to test your Node.js application

December 4th, 2018 | 9 min read | Babel, Jest, Node.js, Testing

After checking out AVA and tape, it’s time to check out Jest. Jest is a testing framework developed by Facebook, and is often used to test React applications. However, it isn’t limited to just React, so let’s explore the features it has by testing a small Node.js application!

Testing your Node.js application with tape

November 20th, 2018 | 7 min read | Node.js, Sinon.js, tape, Testing

Last time, I tested a simple Node.js application I wrote with AVA. While my initial experience with AVA was great, it’s probably still worth it to compare it with other testing frameworks. Another testing framework I seem to hear a lot about is tape. One of the main advantages of tape is that it produces […]

Testing your Node.js application with AVA

November 6th, 2018 | 10 min read | AVA, Babel, Node.js, Sinon.js

A while ago, I wrote a simple GraphQL API using Node.js, Express.js, Apollo and Mongoose. While the API probably works, we didn’t really invest any time to write some unit tests for it. That’s going to change now. There are many testing frameworks and test runners out there, but in this tutorial I’ll be checking […]