πŸ‘‹Hey there,I'm Dimitri

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

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.

2018: A year in review

January 8th, 2019 | 2 min read | none

As usual, the beginning of a new year is a good time to reflect on the previous year. For me, that meant the return of writing more blogposts, so I’m quite satisfied. Anyhow, let’s recap some important analytics! Visitors As I predicted last year, the site has pretty much reached a “ceiling” that’s difficult to […]

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 […]

Progressive Web Apps with Angular CLI

October 23rd, 2018 | 9 min read | angular, angular-cli, pwa

One of the buzzwords of Google nowadays is Progressive Web Apps or shortly PWA’s. In this tutorial we’ll learn what progressive webapps exactly are. Additionally we’ll see how we can use them and how we can integrate it with Angular and Angular CLI.

Generating documentation for your REST API with Spring REST Docs

October 9th, 2018 | 12 min read | AsciiDoc, Integration testing, Java, Spring boot

Last time, we automatically generated documentation for our REST APIs written with Spring using Swagger annotations, Springfox and AsciiDoc. This allowed us to list all possible operations, models and so on. Additionally to such documentation, it could be interesting to have some examples as well. With Spring REST Docs we can automatically generate these examples […]