MT

eSailors IT Solutions GmbH

Was here
October 2016 until March 2019
Technologies used
Angular, AngularJS, Kubernetes, Protractor, Jasmine, Pupeteer
Languages used
Typescript, Java, Javascript

eSailors is a software provider for online lottery platforms. They run a mutli-tenant, multi-language eCommerce platform with over 400.000 monthly active users. I worked in the "Games" area which provides the front- and backend parts for the actual lottery experience of the platform.

Development and improvement of lotteries

The stack is mainly JVM focused with over 70 micro (sometimes not-so-micro) services all running inside a Kubernetes cluster. I worked in the front- and backend to add new features to existing lotteries as well as implement completely new ones. Implementing new lotteries involved touching many parts of our system from the actual UI, over the purchase process into the ticket history view as well as payment and hedging. Some of the work was done directly by team “Games” while others where coordinated with other teams inside eSailors.

Extracting the lotteries into micro-frontends

The core frontend (called “the webshop”) was a Spring-Boot + Angular monolith that took a long time to deploy due to an over-complicated build system and hundreds of (sometimes flaky) integration tests. To gain the ability to deploy our assets independently the team Games started extracting our games core into a separate project that could be tested and deployed independently and was then loaded into the core frontend via a small wrapper using an IFrame. While this worked out great eventually there were lots of challenges on the way.

Migration from AngularJS to Angular

The frontend for the lotteries was originally done with AngularJS. During my time we completely migrated the lotteries frontend themself and also most parts of the rest of the frontend from AngularJS to Angular. This was done iteratively while keeping the shop running and continuously deploying to production. The frontend was a large, monolithic application that also involved some server side rendering for certain pages. Keeping that all together and running smoothly during such an invasive migration uncovered lots of interesting corner cases and bugs that we had to solve to keep the site running

Internationalization of lottery platform

The company decided to go into the international lottery market (starting with Ireland, followed by Scotland and Romania). The system was previously German only and not, in the most parts, no preparation for internationalization. Adding this to the front- and backend was a huge task that occupied most of the engineers for a long time. We added support for multiple languages but also different currencies and had a lot of fun fixing layout bugs because text was now suddenly a lot shorter or longer than previously anticipated and finding a solution where we programmatically built text from snippets.