
What you would learn in Build RESTFUL APIs using Kotlin and Spring Boot course?
Kotlin is the Modern compact, secure programming language and is among the most well-known JVM languages in the current time and time.
It is also compatible with Java and other languages and offers a variety of ways to reuse code between different platforms to create productive code.
This course will concentrate on the use of Kotlin to support server-side development using the SpringBootframework. This is an interactive course that will cover these two subjects:
Learns Kotlin Basics, which are essential in Java Designers
Create RestFul APIs using SpringBoot and Kotlin.
Part 1: Starting the Course
This section outlines the goals of the course as well as the prerequisites needed for the successful completion of this course.
2. Getting started With Kotlin Programming Language
In this article, I will present Kotlin Programming Language and why it is a great language to develop enterprise applications.
Introduction to Kotlin
How does Kotlin work With the JVM?
Section 3: Kotlin Fundamentals
In this part, we will look at the basics of Kotlin.
the variables Val and var within Kotlin
Basic Types: Int, Double, Long String
Conditions - When and if block
Loops, Ranges
while and do-While
Labels, break and return
Section 4 The functions of Kotlin
In this section, we'll be introduced to functions in Kotlin and various ways of declaring and making use of these functions.
Definition and Invoking Functions
Default Value Parameters & Named Arguments
Top-level Functions and top-level properties
Section 5 Classifications, Interfaces, and Inheritance
Within this part, we'll be taught about inheritance, classes, and interfaces in depth.
Class introduction - Making an object and class
Primary Constructors
Secondary Constructors
initializer code using init block
Data Classes
Customized Setters and Getters
Succession & Inheritance Extending Class
Inheritance-Override Functions, Variables
object keyword to create an instance of the class
Keywords for companion objects
Interfaces
Interfaces - handling conflicting functions
Interfaces - Define and Overriding Variables
Visibility Modifiers
Type Checking and Casting, as well as Smart Cast
Enum class
Section 6 nulls found in Kotlin
In this section, we'll be taught about how to handle nulls in Kotlin
Nullable & Non-Nullable types in Kotlin
Secure Contact(?) , Elvis Operator(? :) & Non Null Assertion (!!) to address Null Values
Assigning or calling an un-Nullable Type to a Non-Nullable Type
Section 7 Collections, Arrays, and Lamda Expressions
Within this segment, I'll explain arrays, collections, and lambda expressions within Kotlin
Introduction to Collections
The Introduction Lamda Expressions
Lambdas as well as Higher-Order Functions
Filter Operation on Kotlin Collections
Map operations on Kotlin Collections
FlatMap Operations in Collections
Working with HashMaps
A lazy Evaluation of Collections Using Sequences
Nullability of Collections
Section 8: Exceptions In Kotlin
This article will go over the different kotlin options and the methods to deal with the issues.
Handling exceptions using try-catch
Section 9: Scope Functions
This article will explain the various scope functions available in Kotlin and how to use it.
An Introduction Scope Functions
apply and also apply and also the Scope function
Let Scope Function Function
with run Scope Function and with
Section 10: Getting started by using Kotlin as well as Spring Boot
In this article, I will give a background of the app we will create and then build an accessible API.
The app's overview and the project Setup
Create a simple endpoint the Greeting Controller
Constructor Injection in Spring
Making profiles for different Profiles in Spring Boot
Logging is set up in Kotlin
Section 11: Integration/Unit Testing with Junit 5
In this article, I will provide code and discuss how to write various kinds of tests with spring boot and Kotlin.
Introduction to Automated Tests and Configuring JUnit5
Integrity Test of Controller
A Unit Test to test the Controller Utilizing Mockk, the Mock Mocking library
Chapter 12: Create your Course Catalog Service
We'll develop an online Course Catalog Service to manage the Courses within this area.
Create the Course Entity and CourseDTO
Create CourseRepository and Configure JPA in the application.yml file
Make the POST Endpoint available for the addition of a new Course I.
NTEgration test for the POST endpoint with JUnit5
Develop your Get Endpoint to retrieve all Courses
Integrity test to the GET endpoint to get all courses
Create an Update Endpoint to make changes to the Course
Test of integration for PUT endpoint by using JUnit5
Create the DELETE endpoint to remove the Course
Section 13: Unit Testing Controller layer (Web Tier)
This section will write code and discover how to write unit tests for the controller.
The unit test is to be administered by the CourseController.
The unit test is for the post Endpoint in CourseController
A unit test to determine this GET endpoint of CourseController
Testing the Unit for the PUT Endpoint using CourseController
Test unit for DELETE's Endpoint CourseController
Section 14: Bean Validation with Validators as well as ControllerAdvice
This section will create code and explore the various ways to implement bean validations and handle issues by using the ControllerAdvice Pattern.
Name and Category are mandatory using @NotBlank annotation
Implement Custom Error Handling using ControllerAdvice pattern
Handle Global RuntimeException using ControllerAdvice Pattern
Section 15: Custom JPA queries using Spring Data JPA and Testing DB Layer using @DataJpaTest
In this presentation, we will discuss how to create custom JPA queries as well as the methods to evaluate the DB layer with the DataJpaTest
Find Courses by Name using JPA Create Query Function
Retrieve Courses By Name using Native SQL query
Testing multiple sets of data using @Parameterized test
Section 16 Get Endpoint to retrieve the name of the course by using @RequestParam
In this section, we will program and understand the use of RequestParam within the controller endpoint.
Utilize the existing GET endpoint to get Courses by Name
Test for Write Integration to find course information by name
Section 17: Entity RelationShips made using Spring Data JPA
In this part, I will describe the method to express relations in JPA by using Entity and data classes in Kotlin
The Instructor's Entity can be added to Course Catalog Service. Course Catalog Service
In the Entity Class
Instructor Controller to Manage Instructor Data
Update CourseService to verify the instructor's Data
Correct the CourseController Integration Tests
Make the CourseController Unit Tests pass.
Section 18: Integrating the Postgres DB
In this section, we'll write code and discover how to connect the postgres DB into the service for catalogs of courses.
Configuring for Postgres DB and App to connect to Postgres
Try the app using Postgres DB
Section 19: Integration Testing with TestContainers
Then, we'll program and understand how to integrate the test containers to run an integration test.
Setup of TestContainers that will be utilized for the Integration Test
Configure @DataJpaTest using TestContainers
Section 20: Java & Kotlin Interoperability
Within this part, we'll program and understand the interoperability of Java and Kotlin.
Utilizing Kotlin Code from Java Class
The invocation of Java Code from Kotlin
Utilized JVM annotations for Kotlin
When you finish this course, you'll be confident in writing code with Kotlin. Koltin Programming language and Create RestFuL APIs with SpringBoot as well as Kotlin.
Content of the Course:
- Kotlin Programming Language and its advantages
- Write Code with Kotlin Programming Language
- Building applications using Kotlin
- Build RestFul Services using SpringBoot and Kotlin
- Test Kotlin using JUnit5
- Kotlin as well as Java Interoperability
- Incorporate Spring Data JPA with Kotlin
- Testing integration DB Layer using TestContainers & JUnit5
- Unit Testing Functions calls using Mockk Library
Download Build RESTFUL APIs using Kotlin and Spring Boot from below links NOW!
You are replying to :
Access Permission Error
You do not have access to this product!
Dear User!
To download this file(s) you need to purchase this product or subscribe to one of our VIP plans.
Note
Download speed is limited, for download with higher speed (2X) please register on the site and for download with MAXIMUM speed please join to our VIP plans.