Spring Boot, MongoDB, Reactive CRUD example

In this tutorial, we’re gonna build a Spring Boot MongoDB Reactive example – CRUD application that uses Maven, Spring Data Reactive MongoDB to interact with MongoDB database and Spring WebFlux for Reactive Rest API. You’ll know:

  • How to configure Spring Data to work with MongoDB Database
  • How to define Data Model and Repository interface
  • Way to create Spring Rest Controller to process HTTP requests
  • Way to use Spring Data Reactive MongoDB to interact with Database

More Practice:
Spring WebFlux File upload example
Spring Boot + GraphQL + MongoDB example with Spring Data & graphql-java
Spring Boot, MongoDB: JWT Authentication with Spring Security
Spring Boot MongoDB Pagination example with Spring Data

Exception Handling:
Spring Boot @ControllerAdvice & @ExceptionHandler example
@RestControllerAdvice example in Spring Boot

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

Read More

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