Book Image

Hands-On Serverless Applications with Kotlin

By : Hardik Trivedi, Ameya Kulkarni
Book Image

Hands-On Serverless Applications with Kotlin

By: Hardik Trivedi, Ameya Kulkarni

Overview of this book

Serverless is a cloud computing execution model where the cloud provider dynamically manages the allocation and provisioning of servers. Many companies now use serverless architectures to cut costs and improve scalability. Thanks to its concise and expressive syntax and a smooth learning curve, Kotlin is a great fit for developing serverless applications. With this book, you’ll be able to put your knowledge to work by implementing serverless technology in your applications and become productive in no time. Complete with detailed explanation of essential concepts and examples, this book will help you understand the serverless architecture fundamentals and how to design serverless architectures for your applications. You’ll also explore how AWS Lambda functions work. The book will guide you in designing, building, securing, and deploying your application to production, along with implementing non-functional requirements such as auditing and logging. Furthermore, you’ll discover how to scale up and orchestrate serverless applications using an open source framework and handle distributed serverless systems in production. By the end of the book, you’ll be able to build scalable and cost-efficient Kotlin applications with a serverless framework.
Table of Contents (11 chapters)
3
Designing a Kotlin Serverless Application

Improving Your App with Firebase Service

Since you're here, I'm sure you've enjoyed the ride with us so far. I can tell that going serverless with Kotlin is giving you a thrill. With AWS, we saw how easy is to develop and deploy the code for Lambda functions. We also saw how we can integrate the database with our code. We performed basic operations, but that should give you a good idea about what we can do in the database with Kotlin. Now, it's time to explore more providers. This time, we will enhance our app using Firebase. Firebase is the mobile and web application development platform by Google.

This chapter will cover the following topics:

  • Integrating Firebase authentication
  • Writing Firebase cloud functions in Kotlin
  • Saving data into the real-time database
  • Monitoring crashes
  • Monitoring the application's performance
...