strider

🏗️ Backend Development Fundamentals Hub – Complete Learning Path

This comprehensive Backend Development Fundamentals series provides hands-on experience with essential microservice development concepts, patterns, and best practices. Built from real-world experiences with the AdventureTube microservice ecosystem, each step builds upon the previous to create a complete understanding of modern Spring Boot development.

🏗️ Backend Development Fundamentals Hub – Complete Learning Path Read More »

Uncategorized

Complete Guide to Exception Handling in RESTful API Microservices (include Part 1,2,3,4)

Building robust exception handling in microservices requires more than just try-catch blocks. This comprehensive guide covers AdventureTube’s proven three-layer approach to exception management, implemented in production microservices handling and returns meaningful information and also optimises performance during the exception handling.

Complete Guide to Exception Handling in RESTful API Microservices (include Part 1,2,3,4) Read More »

Uncategorized

MapStruct Debug in Microservice

1. Configuration in Microservice For MapStruct to function properly within a Spring Boot microservices architecture, both the parent and sub-module pom.xml files must be correctly configured: Parent pom.xml <dependencyManagement> <dependencies> <dependency> <groupId>org.mapstruct</groupId> <artifactId>mapstruct</artifactId> <version>1.5.5.Final</version> </dependency> </dependencies> </dependencyManagement> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.10.1</version> <configuration> <annotationProcessorPaths> <path> <groupId>org.mapstruct</groupId> <artifactId>mapstruct-processor</artifactId> <version>1.5.5.Final</version> </path> <path> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.18.30</version> </path>

MapStruct Debug in Microservice Read More »

Spring Boot

Adventuretube REST API Architecture Principle

1. Correct Design of Controller and Service Principle: Thin Controller, Fat Service Controllers should only handle HTTP concerns: routing, request/response formatting, and returning status codes. Services should encapsulate business logic, including all validations and error throwing. Why This Matters 1. Separation of Concerns Layer Responsibility Controller Handle HTTP interface Service Contain domain logic and validation

Adventuretube REST API Architecture Principle Read More »

API Design

Backing Up WordPress in Docker: Complete Script & Setup Guide

📍 Overview This guide explains how to create a complete backup of a WordPress site running in Docker, covering both the database and uploaded media (including featured images). ⚙️ Docker Environment Summary My Docker setup includes: MariaDB container as the database service WordPress container with files stored in the wp_data Docker volume A custom backup

Backing Up WordPress in Docker: Complete Script & Setup Guide Read More »

wordpress