We create a fully functional spring boot webflux CRUD service. So we can create, read, update and delete entries in a postgres database. This video explains which spring dependencies are needed, how to setup postgres database, with flyway schema scripts and configuration of the spring boot service. We apply best practices like three layer architecture and use Spring Data R2DBC with reactive repositories to access the database.
Github: https://github.com/tamani-coding/spri...
(00:00) - Intro
(01:53) - Spring Initializr
(04:20) - Prepare PostgreSQL
(05:49) - Setup Flyway with Database Schema
(07:36) - Configure Spring Data R2DBC
(09:40) - Three Layer Architecture / Tier-3 Architecture
(10:55) - Create a Controller and DTO
(16:16) - Create a Service Class
(21:38) - Create a Entity and Reactive Repository
(30:08) - Test CRUD Requests
(32:52) - Get a List of Entities
(36:15) - Outro