Designing the serverless API 

Let's jump to the server side – I mean, the serverless side. Now, we have to list our API requirements. These will mainly be REST APIs, over an HTTP connection. The request and response format will be in JSON. We already listed our UI requirement in the previous section. Keeping these requirements in mind, as we will jot the APIs down one by one, along with their structures.

You may recall having used AWS Lambda with the help of the API Gateway service in the previous chapter. In this lesson, the same concept will be our weapon. With it, we can develop RESTful web services. Let's delve a bit deeper into the API design.

Get Hands-On Serverless Applications with Kotlin now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.