Eric Rybarczyk

Eric Rybarczyk

Enthusiastic and motivated software engineer with diverse experience

AWS & Java Certified Developer

Spring Bike Clinic Website

Spring MVC Website hosted on AWS

Eric Rybarczyk

Spring Bike Clinic Website Screenshot

This project involves a Spring MVC website hosted on Amazon Web Services, and was formerly online at SpringBikeClinic.com. The application is built with Spring Boot and Spring MVC, using Java 11. Data access is implemented with Spring Data JPA and Hibernate. Spring Security provides the authentication and authorization framework. The UI is implemented with Thymeleaf and Bootstrap. You can find the source code in this GitHub repository.

Don't DELETE Me Bro

Deleting Data in a Spring Boot REST API

Eric Rybarczyk

Beverage containers piled in waste bin

Some say that all good things must come to an end. While this exploration of the DELETE method marks the end of this article series, you’ll see that deletion is not necessarily the end of life for the data items backing your REST API.

To Put or to Patch

Updating Data in a Spring Boot REST API

Eric Rybarczyk

Patch cables with audio equipment

When the time comes to handle data updates via a REST API, we may have a choice to make. The list of HTTP verbs, which are the basis for REST operations, includes both PUT and PATCH. Each of these provide a way to update existing resources, and we will cover both in this article.

Send It, POST-Haste

POST accepts new data into a Spring Boot REST API

Eric Rybarczyk

row of mailboxes

Wiring up a controller method to support POST requests isn’t all that different from setting up a GET handler. However, taking data in to our API raises new considerations. How do we make sure the input meets our quality standards? How do we handle the fields required in our data layer that are not provided by the input object?

GET All The Things

Retrieving data in your Spring Boot REST API

Eric Rybarczyk

Dog carrying a large stick

We will start with the humble GET request, but before we can expose our data to the world we need somewhere to write that code. We need a @RestController. The controller is fundamental to Spring MVC, both in web applications and a REST API like we’re building here. This is where we define our specific HTTP endpoints and the corresponding methods to handle requests.

I Wanna Rest!

Fundamentals of REST API development with Spring Boot

Eric Rybarczyk

guitar lying on stage with effects pedals

API development with a REST approach is a widely used standard for providing application functionality over a network. Spring Boot provides robust capabilities for implementing your API, and this blog series will provide a solid introduction to developing and testing a REST API with Spring Boot.

Mock Custom User

Building a Mock object for custom UserDetails implementations in Spring Security

Eric Rybarczyk

spring security guard

While working through the Spring Security aspects of my SpringBikeClinic.com project, I implemented SecurityUser, a custom UserDetails object which was composed with a User database entity. For unit testing my @Controller code, I wanted a clean way to provide a mock instance of my custom user type.

Article Series

Software Projects

Recent Posts

Categories

About

Enthusiastic and motivated software engineer