Book Image

Server-Side Development with Kotlin and Spring Boot [Video]

By : Alberto Di Martino
Book Image

Server-Side Development with Kotlin and Spring Boot [Video]

By: Alberto Di Martino

Overview of this book

<p><span id="description" class="sugar_field">Kotlin is an open source programming language that makes it easy to build simple, reliable, and efficient software. Kotlin is a great fit for developing server-side applications, allowing web developers to write expressive code while maintaining full compatibility with existing Java-based technology stacks and providing a smooth learning curve. This video is a start-to-finish walkthrough of the topics most critical to anyone building a new web application. Whether keeping your application secure, connecting to your database, enabling token-based authentication, or developing Restful APIs, this video has you covered. You'll learn how to use Gradle with Kotlin and integrate it with Webpack, ECMAScript 8, and React to create elegant UIs for your web applications. You'll learn about routing requests and implementing SSL. Moving on, you'll get to know about best practices to keep user data safe. Finally you'll learn how to deploy your application on the cloud. By the end of the video, you will be able to build robust, secure, and fully-featured applications for the web.</span></p> <h2><span class="sugar_field">Style and Approach</span></h2> <p><span class="sugar_field"><span id="trade_selling_points_c" class="sugar_field">Step-by-step practical guide filled with real-world use cases and examples that will help Android developers use Kotlin to develop their own apps effectively.</span></span></p>
Table of Contents (5 chapters)
Chapter 5
Testing Our Backend and Handling Errors
Content Locked
Section 2
Validating Our Controller
We saw on the previous video that our backend has a big problem, we are letting the clients to override existing employee records. In this video, we are going to fix this problem, and then we are going to add validation to our REST controller. - Improve our protocol to create employees - Create an Employee DTO - Validate REST request using validation annotations