Spring Boot R2DBC + PostgreSQL example

In this tutorial, we’re gonna build a Spring Boot R2DBC example – CRUD application with PostgreSQL Database using Spring Data Reactive (R2DBC) and WebFlux for REST API. You’ll know:

  • How to configure Spring Data Reactive, R2DBC to work with PostgreSQL Database
  • How to define Data Models and Repository interfaces
  • Way to create Spring Rest Controller to process HTTP requests
  • Way to use Spring Data R2DBC to interact with PostgreSQL Database

More Practice:
Spring WebFlux File upload example
Spring Boot R2DBC + H2 example
Spring Boot R2DBC + MySQL example
Spring Boot Thymeleaf CRUD example
Secure Spring Boot App with Spring Security & JWT Authentication
Spring Boot Rest XML example – Web service with XML Response
Spring Boot Multipart File upload example
Spring Boot Pagination and Sorting example

Associations:
Spring Boot One To One example with JPA, Hibernate
Spring Boot One To Many example with JPA, Hibernate
Spring Boot Many to Many example with JPA, Hibernate

Fullstack:
Vue + Spring Boot + PostgreSQL example
Angular 8 + Spring Boot + PostgreSQL example
Angular 10 + Spring Boot + PostgreSQL example
Angular 11 + Spring Boot + PostgreSQL example
Angular 12 + Spring Boot + PostgreSQL example
Angular 13 + Spring Boot + PostgreSQL example
Angular 14 + Spring Boot + PostgreSQL example
Angular 15 + Spring Boot + PostgreSQL example
React + Spring Boot + PostgreSQL example

Read More

Angular 15 + Node.js Express + PostgreSQL example: CRUD App

In this tutorial, I will show you how to build a full-stack (Angular 15 + Node.js + Express + PostgreSQL) example with a CRUD Application. The back-end server uses Node.js + Express for REST APIs, front-end side is an Angular App with HttpClient and Router.

Related Posts:
Server side Pagination with Node.js and Angular
File Upload using Angular and Node.js
Angular + Node.js Express: JWT Authentication & Authorization example

Run both projects in one place:
How to Integrate Angular with Node.js Restful Services

Serverless with Firebase:
Angular 15 Firebase Database CRUD example
Angular 15 Firestore CRUD example

Read More

Spring Boot + Angular 15 + PostgreSQL example: CRUD App

In this tutorial, we will learn how to build a full stack Angular 15 + Spring Boot + PostgreSQL example with a CRUD App. The back-end server uses Spring Boot with Spring Web MVC for REST Controller and Spring Data JPA for interacting with PostgreSQL database. Front-end side is made with Angular 15, HttpClient, Router and Bootstrap 4.

Older versions:
Angular 10 + Spring Boot + PostgreSQL example
Angular 11 + Spring Boot + PostgreSQL example
Angular 12 + Spring Boot + PostgreSQL example
Angular 13 + Spring Boot + PostgreSQL example
Angular 14 + Spring Boot + PostgreSQL example

Security: Angular 15 + Spring Boot: JWT Authentication example
Upload: Angular 15 + Spring Boot: File upload/download example
Pagination: Angular + Spring Boot: Pagination example

Read More

JPA/Hibernate One To One unidirectional mapping in Spring Boot

In this tutorial, I will show you how to implement Spring JPA One-To-One unidirectional mapping with Hibernate in a Spring Boot example using @OneToOne annotation. You’ll know:

  • How to configure Spring Data, JPA, Hibernate to work with Database
  • How to define Data Models and Repository interfaces for JPA One-To-One relationship
  • Way to use Spring JPA to interact with Database for One-To-One association
  • Way to create Spring Rest Controller to process HTTP requests

Related Posts:
JPA One To Many example with Hibernate and Spring Boot
JPA Many to Many example with Hibernate in Spring Boot
Validate Request Body in Spring Boot
Spring Boot Token based Authentication with Spring Security & JWT
Spring JPA + H2 example
Spring JPA + MySQL example
Spring JPA + PostgreSQL example
Spring JPA + Oracle example
Spring JPA + SQL Server example
– Documentation: Spring Boot + Swagger 3 example (with OpenAPI 3)
– Caching: Spring Boot Redis Cache example

Read More