ūüĎčHey there,I'm Dimitri

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


Securing Spring boot applications with JWT

January 3rd, 2018 | 16 min read | jwt, Microservices, Spring, Spring boot, Spring security

As soon as you write your first web application with Spring, you probably want to secure it. Spring has a project called Spring Security that does most of the generic stuff for you. Just plug in a service that provides the user details (from a database, LDAP, …) and configure the endpoints and you’re ready […]

Configuration as a microservice

November 9th, 2017 | 6 min read | Git, Microservices, Spring boot, Spring cloud, Web

In my last few tutorials, I’ve covered some aspects that are really important with microservice, such as a discovery service like Eureka and a circuit breaker like Hystrix. Another thing that might be useful when working with microservices is to provide your application configuration as a microservice as well.

Showing a loader with Angular 2

December 8th, 2016 | 6 min read | angular, angular-cli

We’ve already done quite a lot to get a working pok√©dex with Angular 2. However, there are still two things that bother me: If the API request takes a while, the user wont notice it. The page will just be blank When we open the application, we get a simple “Loading…” message

Animating with Angular 2

December 7th, 2016 | 10 min read | angular, angular-cli, components, pokeapi

We’re getting pretty far already with our Pok√©dex. We’ve already implemented a service with the Pok√©api, an overview and a part of the detail page. The next thing I’m going to look at is how to animate stuff with Angular 2. If you’re just like me and enjoyed the good ol’ days with AngularJS 1.x, […]

Implementing your own pipes with Angular 2

December 6th, 2016 | 8 min read | angular, angular-cli, pipe, pokeapi

Now that we’ve set up a project with Angular 2, with a service to fetch data from our REST API and some components and routing to show an overview of pok√©mons, it’s time to show some more detailed data. The component I’m going to be working on will be using the PokemonAbilityInfo object, which contains […]

Changing your page title when a route changes with Angular 2

December 1st, 2016 | 4 min read | angular, routing

Last time, we implemented our pokémon detail view by using routing to switch between the overview and the detail. However, currently we still have the same title across our entire application. Usually when you have an application with multiple pages, you want to change the page title depending on the page the user visits.

Using routing with Angular 2

November 30th, 2016 | 10 min read | angular, angular-cli, routing

Last time, we pretty much finished our pok√©dex overview by implementing some pagination. Now that the pagination is behind us, we can focus on creating a more detailed view for our pok√©mons. If you remember when we wrote a service, we actually provided two functions, a findAll() and findOne() function. However, we didn’t use the […]