MENU

Fun & Interesting

How to build a REAL Webapp with Kotlin & Spring Boot

Devtiro 31,440 9 months ago
Video Not Working? Fix It Now

In this tutorial I teach you how to build a real webapp with Kotlin and Spring Boot. We focus on the backend and I provide the frontend code for you. 🚀Join the Devtiro community on Discord for FREE: https://go.devtiro.com/b3x9p 🔗 *Links* ‣ How to Install Java (OpenJDK - Eclipse): https://adoptium.net/en-GB/installation/ ‣ How to Install IntelliJ IDEA: https://www.jetbrains.com/idea/download/?section=windows ‣ How to install NodeJS: https://nodejs.org/en/learn/getting-started/how-to-install-nodejs ‣ How to install Docker: https://docs.docker.com/get-docker/ ‣ Source Code: https://github.com/devtiro/course-kotlin-spring-boot ‣ docker-compose.yml: https://github.com/devtiro/course-kotlin-spring-boot/blob/main/4-1-start-db/bookstore/docker-compose.yml ‣ Initial DB Migration SQL: https://github.com/devtiro/course-kotlin-spring-boot/blob/main/4-6-flyway/bookstore/src/main/resources/db/migration/V1__init_db.sql ‣ Test Data SQL: https://github.com/devtiro/course-kotlin-spring-boot/blob/main/test-data.sql ‣ Frontend Code: https://github.com/devtiro/course-kotlin-spring-boot/tree/main/0-frontend/bookstore *Timestamps* 00:00:00 Intro 00:01:36 What We'll Build 00:03:40 You Will Need 00:04:48 What is Kotlin? 00:08:30 Run Frontend 00:09:30 Spring Initialzr 00:14:40 Project Overview 00:22:15 Domain Overview 00:24:29 Domain Classes 00:28:48 Mutability 00:32:38 Val vs Var 00:35:08 Types in Kotlin 00:37:30 Nullable Types 00:39:56 What is Int 00:41:44 Complete Classes 00:43:15 Getters & Setters 00:46:46 Data Classes 00:52:04 A Real Database 00:56:49 Making Connections 01:00:15 Adminer 01:03:02 Entities 01:12:43 Repositories 01:16:31 Flyway 01:24:18 REST API Theory 01:30:03 Author Create Pt 1 01:33:07 DTO Theory 01:37:54 Creating DTOs 01:44:18 Author Create Pt 2 01:50:55 Creating an Author 01:56:25 Prepare for Testing 02:01:40 Testing Author Create Pt 1 02:05:52 Testing Author Create Pt 2 02:06:47 Testing Author Create Pt 3 02:13:39 Testing Author Create Pt 4 02:16:49 Testing Author Create Pt 5 02:21:28 Testing Author Create Pt 6 02:23:55 Testing Author Create Pt 7 02:31:46 Author Read Many 02:40:15 Load Test Data 02:42:38 Test Author Read Many 02:51:56 Author Read One 03:01:21 Test Author Read One 03:08:04 Author Full Update 03:18:33 Test Author Full Update 03:29:40 Author Partial Update 03:40:26 Test Author Partial Update 03:55:28 Author Delete 03:59:20 Test Author Delete 04:03:41 Test Pollution 04:04:31 Create Update Book 04:28:36 Test Create Update Book 04:52:07 Read Many Books 04:57:05 Fix Cascade Issues 05:03:06 Test Read Many Books 05:08:34 Read Many Books Query 05:12:48 Test Read Many Books Query 05:20:03 Read One Book 05:23:29 Test Read One Book 05:28:34 Book Partial Update 05:36:54 Test Book Partial Update 05:46:32 Book Delete 05:50:06 Test Book Delete 05:54:28 Next Up Thank you for watching! 💙

Comment