January 27, 2020

Simple Spring Boot Example

I have a basic but fully-functional Spring Boot application example on GitHub at https://github.com/mikebryantky/SpringBootExample.  

This sample application provides REST endpoints to create/edit/update/delete entries in two database tables: person and department.

It also provides exmaples of clean error handling and unit tests.
Basic technologies include:

  • REST API server
  • Swagger
  • MySQL database
  • Flyway
  • Spring Data
  • Spring JPA
  • Lombock
  • Java Optional
  • Spring Actuator
  • JUnit
  • MockMvc

Review the code, download and run it, and if you have questions feel free to give me a yell.