Deleting resources should be fun

Photo by Gary Chan on Unsplash

As a data engineer, I’m well aware that there are multiple languages and frameworks to get the job done. I’m a big fan of Spring (Java) and FastAPI (Python) myself.

Unlike many people believe nowadays, CRUD is far from dead. You have all the methods you need to create, read, update, and delete resources if done right. And, more importantly, it should be possible to create an API in a fast and stable way.

This article will show you how to create a controller with a DELETE request. We’ll also focus on testing our code with unit and integration tests.

Fast and qualitative work

A workstation header image
Photo by Caspar Camille Rubin on Unsplash

The internet is full of resources on how to build an API. The need for so many resources indicates that building an API is hard for many of us. But, it does not necessarily have to be. Today, you’ll learn how to create a POST request with FastAPI.

A POST request is a bit harder to understand than the GET request because it has a creational nature.

This article will show you how to build a controller with a POST request. You’ll learn how to test it properly with unit and integration tests.

So let’s put our learning hat on…

Building APIs should be fun

Pineapple with sunglasses on
Photo by Pineapple Supply Co. on Unsplash.

There are so many new frameworks on the market nowadays. In the Python landscape, I am a big fan of FastAPI. If you don’t already know FastAPI, you might think, “What is in it for me?”

Let me answer this very briefly. You can build a decent API incredibly quickly with FastAPI.

This article will show you how easy it is to build a controller with a GET request. Moreover, I will also show you how easy it is to test. We will cover unit and integration tests.

So grab yourself a drink, and in a few minutes, you will…

Boto3 aids you to navigate through the Amazon ecosystem

Photo by TJ Fitzsimmons on Unsplash

Amazon is still the leader in cloud computing in 2021. In your cloud journey, you need to know your way around the Amazon SDK. It allows you to do mighty things.

In this article, you’ll learn more about the Amazon SDK. We’ll also get our hands dirty and write some code.

By the end of this article, you’ll:

  • Get some experience with AWS Lambda
  • Know how to get started with Boto3
  • Know how you can access a resource like Amazon S3 with Boto3

What is boto3?

Boto3 is the official Python Software Development Kit for AWS. Boto3 allows you to manage your AWS…

Get Notified of What Happens In Your Cloud Application

Photo by Matthew Fournier on Unsplash

A while ago, I automated the process of adding articles to my website. It’s nice that the articles I write on Medium show automatically now. Unfortunately, I don’t know when articles appear on my website without taking a look. That’s why I decided to build a notification mechanism.

In this article, I’ll explain to you in an understandable way how you can send yourself a notification through Amazon SNS. This way, you are always aware of what is happening in the cloud. Moreover, it allows you to intervene when something goes wrong.

In this article, you’ll get answers to the…

How You Can Schedule an AWS Lambda Function With AWS EventBridge

Photo by mostafa mahmoudi on Unsplash

A while ago, I asked myself: How can you regularly call an AWS Lambda function? Cloud events are the key to make my pet project fully automatic.

In my pet project, a cronjob regularly checks an RSS feed of my articles for updates. If there is an update, the Lambda Function adds the article to my database. This way, my website displays an overview of my articles. Automating my work means that I no longer have to carry out physical database queries. My website updates itself, which gives me more time to do other things, like writing.

With this article…

It Can Save You a lot of Money

Photo by Divide By Zero on Unsplash

It was only a few months ago that I migrated my website to the cloud. Like you might have seen by now, I love to write articles. On my website, I keep track of these articles.

Like any good developer, I like to automate. So I made my articles appear on my site automatically. For this, AWS lambda played a crucial role. Here you get some insight into how you can accomplish this yourself.

In this article, you’ll learn how to write an AWS handler in a docker image yourself. There are many advantages to this approach. …

2021 is the ideal year to start, and here is why.

Photo by Nick Morrison on Unsplash

The majority of developers think that writing articles is a waste. They prefer to spend time honing their skills by writing a lot of code. They also believe that all information they need is already available, as long as you search good enough. Learn how to google is all it takes.

In my opinion, some topics (like testing, domain-driven design and many others) lack articles. There is a high demand for quality content, both on new topics and issues that have been around for years. There is a lot…

And why you should move to Amazon S3 as early as possible

Photo by Maksym Kaharlytskyi on Unsplash

More than a year ago, I created a database for storing images. At the time, this made sense because I was working on-premise. Instead of keeping the photos in a folder, I used a back-end to download and manipulate the images. It was a small application I developed relatively quickly, and it worked like a charm. Even now, the program still works. I have no regrets. It was educational.

But then I decided to move my application to the cloud. I took most cloud providers under consideration: Google, Azure, and AWS. After using Heroku for a short while, I decided…

Read This Before You Lose More Money

Photo by Bermix Studio on Unsplash

This article is for anyone who sees Bitcoin as an investment. With this article, I want to raise awareness. Many articles focus only on the opportunities it can have. I, on the other hand, would like to make you alert. Despite the strong growth that Bitcoin has made in recent years, it remains delicate.

This article takes only a few minutes of your time but exposes three pain points of the currency:

  • No regulation
  • Unstable investment
  • Influenceable

After reading this blog post, you are free to convince me about crypto still, but I warn you: it is hard to win…

Dieter Jordens

Writes about Craftsmanship | Machine Learning | Software Development. Read more on

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store