One of the many things Spring Data offers is a basic auditing functionality. It is great if you only need to track who made changes to your model and when. So, let's stop the talking and dive into it.
Working with Spring Data has the huge benefit that you work with a common interface regardless of the underlying storage medium. Yet, it's still transparent enough. In today's tutorial, we will use it with a MongoDB.
There's an easy way to build a REST API for your Spring Data repositories instantly. It doesn't matter if you are using JPA, MongoDB or any of the other stores available with Spring Data. Spring Data REST is the little helper. In this tutorial, we will take a closer look at how you can use it.