Docker Compose: MongoDB and Spring Boot example

Docker provides lightweight containers to run services in isolation from our infrastructure so we can deliver software quickly. In this tutorial, I will show you how to dockerize Spring Boot and MongoDB example using Docker Compose.

Related Posts:
Spring Boot and MongoDB CRUD example
Spring Boot Reactive + MongoDB example
Spring Boot, Spring Security, MongoDB: JWT Authentication example
– Documentation: Spring Boot Swagger 3 example
– Caching: Spring Boot Redis Cache example

Read More

Docker Compose: Spring Boot and Postgres example

Docker provides lightweight containers to run services in isolation from our infrastructure so we can deliver software quickly. In this tutorial, I will show you how to dockerize Spring Boot microservice and Postgres example using Docker Compose.

Related Posts:
Spring Boot and PostgreSQL CRUD example
Spring Boot R2DBC + PostgreSQL example
Spring Boot + GraphQL + PostgreSQL example
Spring Boot, Spring Security, PostgreSQL: JWT Authentication example
– Documentation: Spring Boot Swagger 3 example
– Caching: Spring Boot Redis Cache example

Read More

JPA @ManyToOne example | Spring Boot

In this tutorial, I will show you how to implement Spring Data JPA Many-to-One example in Spring Boot for One-To-Many mapping using @ManyToOne 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-Many relationship using @ManyToOne
  • Way to use Spring JPA to interact with Database for Many-to-One association
  • Way to create Spring Rest Controller to process HTTP requests

Related Posts:
Spring Boot + GraphQL example
JPA One To One example with Hibernate in 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
– Caching: Spring Boot Redis Cache example

Read More

Angular 16 + Spring Boot + MongoDB example: CRUD App

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

More Practice:
Angular + Spring Boot: Pagination example
Angular 16 + Spring Boot: JWT Authentication example
Angular 16 + Spring Boot: File upload example

Read More