Integrating Google Analytics stats with your Angular application is easy. Well, maybe it’s not as easy as it is for non-SPA websites but still it’s possible to do it really quickly.
In this short tutorial, I’m going to show you how you can connect your Angular app to Google Analytics in the 3 easy steps.
Continue reading Add Google Analytics to Angular application in 3 easy steps
Kotlin’s popularity grows constantly.
In this text, I’m going to show you what resources can you use to learn Kotlin and why should you choose it as your own language of choice in the next year.
Continue reading Learn Kotlin in 2021 – check these resources
Looking for the OpenAPI 3 compliant documentation for your Spring Boot-based project REST API?
As you know, there are many ways to achieve it (e.g. using the Springfox library). But which solution will be both integrated with the Spring ecosystem and OpenAPI 3 compliant?
Fortunately, the answer is springdoc-openapi. It’s the library that generates documentation almost automatically, without even providing configuration and thousands of cluttering annotations.
In this text, I’m going to show you how you can integrate your Spring Boot project with the springdoc-openapi library to generate nice API documentation which will be compatible with the OpenAPI 3 standard.
Continue reading OpenAPI 3 documentation for your Spring REST API with springdoc-openapi
If you need to deliver your application quickly worldwide, then you can try to use CloudFront.
In this short text, I’m going to show you how easy it is, using the previously deployed Angular app as an example.
Using CloudFront for the websites hosted on the S3 is also a good idea when you need to use the domain which is not registered on Route 53 but on the external provider.
Continue reading Creating CloudFront distribution for your Angular app running on the S3 bucket
Showing multiple locations on a single map isn’t easy. Both from visual and performance point of view.
But fortunately, there’s a solution to this problem, called marker clustering. Basically, it’s about gathering points together in groups called clusters. Their size depends on current map zoom settings. It helps a lot when it comes to navigation through the map.
In this text, I’m going to show you how you can achieve it in your Angular project using the Leaflet map with Leaflet.markercluster library.
Continue reading How to provide marker clustering on the Leaflet map in the Angular project 🗺📌
Have you ever thought about creating your own flashcards app?
Well, I have. Although there are plenty of applications like that I developed a simple one for my personal purposes.
Today I’d like to share the implementation of the SM-2 spaced repetition algorithm in the Kotlin language.
Continue reading Spaced repetition algorithm implementation in Kotlin
In this blog post, I’m going to show you how can you set up the simple CI/CD pipeline for the Angular app.
The goal was to build the GitHub-based Angular project automatically with Travis CI and deploy it into an S3 bucket, which is used to host a static website.
Let’s begin and learn how you can set it all up yourself.
Continue reading Deploy your Angular application into an S3 bucket using Travis CI
Have you ever wondered what is the difference between 401 and 403 status codes in HTTP?
In this short text, I’m going to describe what is the main difference between 401 and 403 status codes. I hope it will help you with better API design.
So, let’s begin.
Continue reading HTTP Basics – 401 Unauthorizeed vs 403 Forbidden – what is the difference?
Let’s take a look at the HTTP status codes.
In this text I’m going to walk through the 10 most common status codes you may see working with HTTP.
I hope it will help you to understand how the HTTP works or refresh your knowledge and help you design better APIs.
Continue reading HTTP Basics – 10 HTTP status codes you need to know
While designing our APIs, we often need to make a decision, which method do we’d like to choose to create a new resource on the server.
Will it be POST or PUT?
But hey, wait a minute, there’s still a PATCH method. Will it be suitable for this purpose?
In this short text, I’m going to go through all these methods and show you what are the best use cases for each of them.
Continue reading HTTP basics – PUT vs POST vs PATCH, what is the difference?