Safe methods in HTTP – what do you need to know about them?

In the previous text, we familiarize ourselves with the concept of the idempotent methods in HTTP.

Let’s talk about safe methods today. What does it mean? Does it have something to do with HTTPS? Well, not really 😉

Let me explain it. Continue reading Safe methods in HTTP – what do you need to know about them?

Idempotent methods in HTTP – what does it mean and why should we bother?

What are idempotent methods in the HTTP? Probably you’ve been asked this question on the interview, or maybe you see it for the first time.

No doubts, it’s a concept which you should know in order to create good and fault-tolerant  HTTP-based APIs.

In fact, idempotent methods in HTTP are not so complicated as their name may sound. So, let’s begin.

Continue reading Idempotent methods in HTTP – what does it mean and why should we bother?

HTTP basics – what do you need to know about it?

In this text, I’m going to cover all the basic information that every web developer should know about the most basic building block of the modern web, which is HTTP (in my humble opinion).

Due to its continuous popularity, I’m going to focus on HTTP/1.1 mostly.

Continue reading HTTP basics – what do you need to know about it?

Amazon EC2 in a nutshell [AWS Solutions Architect Associate Exam]

Amazon Elastic Compute Cloud (EC2) is the most popular computing service in AWS. It is very easy to use and lets you scale your cloud infrastructure on go.

Today I’m going to present the basic overview of that service.

So, let’s begin.

Continue reading Amazon EC2 in a nutshell [AWS Solutions Architect Associate Exam]

Amazon S3 in a nutshell [AWS Solutions Architect Associate Exam]

Amazon S3 service is probably the most commonly used service in the AWS cloud. Today I’m going to go through the basic information you’ll need to know about Amazon S3.

The format of the AWS Solutions Architect Associate Exam posts series is based on the notes I made during my preparation for the Solutions Associate exam.

The goal is to keep it simple in the form of bullet-points, easy for the quick review.

I hope you’ll find it valuable.

Continue reading Amazon S3 in a nutshell [AWS Solutions Architect Associate Exam]

Redirect e-mail on your domain quickly and free with ImprovMX and Route 53

Recently I’ve bought a domain via AWS Route 53. I wanted to set up incoming e-mails redirection from that domain into the existing e-mail server.

In this text, I’m going to show you how you can redirect your incoming e-mail messages with Route 53 for free.

Continue reading Redirect e-mail on your domain quickly and free with ImprovMX and Route 53

Provide basic security for your Spring Boot application with Spring Security and Kotlin

When you’re creating your REST API, most of the time you don’t want it to be publically accessible. Moreover, sometimes you’d like to restrict certain paths for users with specific roles (for example administrators).

In this blog post, I’m going to provide very basic Spring Security integration for Spring Boot application written in Kotlin language.

Please note that I’m using the example REST API I provided in the previous article. So if you don’t have your Spring Boot REST API built yet, move through the steps I described there.

Continue reading Provide basic security for your Spring Boot application with Spring Security and Kotlin

Swagger documentation for your Spring Boot API with Springfox

If you’d like to provide Swagger documentation for your Spring Boot REST API in a nice way, you’re in the right place.

Today I’m going to show you how you can achieve it in an automated way, without using tons of annotations in your controllers.
Springfox is a nice tool that allows you to do it.

In this text, I’ll be using the REST API built previously in this text using Spring Boot and Kotlin language, as an example.

Continue reading Swagger documentation for your Spring Boot API with Springfox

REST API with Spring Boot and MongoDB using Kotlin

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