How to use dev services in SpringBoot, almost like Quarkus
When I started a projet on Quarkus, one of the big feature for me with this framework was the dev services. When you add a dependency (extension) like a database on your projet, it comes with a service that will manage automatically the start/stop of a container along with your application in development mode. You also have configuration parameters to set it the way you want, it is truly great !
When I started a new project on SpringBoot, I searched a way to have my local environment running in a way like the dev services of Quarkus. I found that since SpringBoot 3.1, you can have a test class to start containers along with your application, and thus with only one class start your complete environment. So easy !