Running Karma with Maven on Jenkins CI

Most tutorials on automating test for an Angular SPA are based on Jenkins running on the development machine, and executing Karma through a Jenkins "Execute shell". We have our SPA set up as part of a multi-module Maven project (as the server-side is a Spring Boot application). Thus here the step-by-step guide for a CI … Continue reading Running Karma with Maven on Jenkins CI


Using OAuth2 with Angular SPA

There are quite a few stackoverflow questions out there asking how to secure an OAuth2 client ID + secret in a pure-Angular SPA (eg. here, here or here) A lot of the answers eventually aim at changing the givens: pure client-side Angular application use OAuth2 want to secure client ID + secret by suggesting to … Continue reading Using OAuth2 with Angular SPA