The Original Application

Create a CRUD application for pet service, which is based on API Gateway HTTP API.

We'll cover the following...

Overview

In this chapter, we deviate from our normal approach and take a pre-written application as our starting point. It’s called Pet Service and is written in an imperative style, using both objects and functions. Despite some advantages, there are numerous issues with this coding approach, which we’ll explore here.

Pet Service is a CRUD application that stores information about pets and wild animals. Pets have more attributes than wild animals (like cuteness), but for the latter, we save a counter for each type of animal because we might like to know just how many lions ...