If you think about Kotlin you could probably think about Android and mobile development.
It’s true. When Google announced Kotlin as the preferred language for the Android platform, its overall popularity increased sharply.
According to The State of Developer Ecosystem 2019, the survey made by JetBrains (Kotlin language creators), 62% of Kotlin-based apps were mobile. But 41% of Kotlin projects were related to web back-end development.
Indeed, Kotlin may be a good choice for server-side development. Among other frameworks, Kotlin is one of the officially supported languages of the Spring Framework.
In this text, I’d like to show you how easy it is to create a Spring application using Kotlin. I’m going to implement a simple CRUD REST API with Spring Boot and MongoDB as a database using Kotlin as a language.
So, get started with implementation and try it yourself.
Continue reading REST API with Spring Boot and MongoDB using Kotlin
JHipster is a great tool to quickly build your application or just the prototype. And when you’re building your MVP you most of the time need to move fast.
Liquibase is a tool that comes by default with JHipster and it’s for database version control. It tracks the changes in the database schema but sometimes it can also be painful.
If you’re here, you’re probably looking for a way to disable it temporarily or once for good.
In this text, I’m going to show you how you can achieve it.
Continue reading How to disable Liquibase in your JHipster project?
If you want to pass the data from parent to child components in Angular application, I hope this article will help you to find the answer.
Recently, I described the process of passing data between child and parent components in Angular using @Output and EventEmitter.
Now it’s time to show you the capabilities of @Input decorator for data sharing between parent and child components.
Continue reading Passing data between Angular components with @Input
Geocoding is the term used to describe the proccess of exchanging address into corresponding geographical data (coordinates).
If you’re looking for out-of-the-box geocoding services there are plenty of them. For example, you can consider the most popular one – Google Maps Geocoding API which is pretty good but it’s not really free to use.
There’s a different solution, especially if you’re using OpenStreetMaps-related maps engine. It’s called Nominatim and basically it’s the OSM searching engine with open web API.
Continue reading Angular 8 with Leaflet map – geocoding using Nominatim API
If you’re considering using interactive maps in your Angular application definitely Leaflet is a great choice. It’s open, easy to integrate with and has strong community support.
In my opinion, it’s the best alternative to the Google Maps. So, don’t lose the opportunity and check it yourself. I hope it will fit your needs.
Continue reading Use Leaflet in your Angular 8 project for interactive maps
If you’re looking a way to communicate between Angular components I hope you’ll find your answer here.
In this article I’d like to show you how you can benefit from using @Output and EventEmitter in order to pass the data from child to parent component.
Continue reading Passing data between Angular components with @Output and EventEmitter
Recently I switched from my ThinkPad to MacBook Pro. Coming from Linux world I soon started missing some of my previous favorite tools.
One of them is Guake – a drop-down terminal tool. There’s no macOS version of it but luckily there’s a way to get terminal with similar behaviour on macOS.
Continue reading Drop-down terminal in macOS with iTerm2
Rich Site Summary (RSS) is not quite state-of-art technology but thanks to its simplicity RSS feeds are still useful nowadays.
In this post I’ll show you how you can parse websites and provide your own RSS feed with Spring Boot and few useful libraries such as JSoup and ROME.
Please note: This post isn’t a step-by-step tutorial. The source code with fully working example can be found on GitHub.
Continue reading Web scraper and RSS feed generator with Spring Boot
Recently I was testing and comparing cloud functions services. For this purpose the JMeter was chosen to provide simple single endpoint test. Today I’d like to share the whole process with you. It’s really easy, so let’s go through it.
In this short tutorial you’ll learn how to use JMeter to run simple performance test for single web service endpoint (or a website) using HTTP/HTTPS requests and generate the test report.
Continue reading Run performance test on your endpoints with JMeter
As you probably noticed, I familiarize myself with the subject of Firebase Cloud Messaging push notifications recently.
This time I would like to share with you my push notifications server-side application. The app is made with the Spring Boot framework.
The provided example covers most common notifications sending use cases such as: sending push notification to a topic, directly to the users’ device or sending messages with additional data payload.
This post is not a step-by-step tutorial. I’ll focus on the most important parts. A fully working example is available on GitHub.
If you don’t have a client-side application to receive push notifications yet, you should consider the use of the Ionic app I described earlier. Have fun!
Continue reading Send push notifications from Spring Boot server-side application using FCM