![Spring Boot 2.0 Projects](https://wfqqreader-1252317822.image.myqcloud.com/cover/626/36699626/b_36699626.jpg)
Using Spring Boot Devtools for database visualization
In order to ease the testing of database development via Spring Boot Devtools, a dependency can be used that will provide a GUI to visualize the tables created with the data when an embedded database such as H2 is used. This can be seen from the following code:
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
With this Spring Boot Devtools enabled after the Spring Boot application's startup, accessing the http://<host>:<port>/h2-console (the port will be the same port as the Spring Boot application) URL will display the following H2 database console for ease of development:
![](https://epubservercos.yuewen.com/8AED3C/19470390708870606/epubprivate/OEBPS/Images/dcc396a8-950c-4112-b70f-1f27fb066bfe.png?sign=1739289050-HnjakzQ7DZwTRfh1PntSPXeOJ23e9cNv-0-2f0b9dda93f4c3af8e114d1a8d5e86e2)
After clicking the Connect button with the correct parameters, the following screen with database tables and users will be displayed:
![](https://epubservercos.yuewen.com/8AED3C/19470390708870606/epubprivate/OEBPS/Images/255f4541-2224-43c1-97c8-f6e619f6d1f1.png?sign=1739289050-6qw1V97OLRjvzlCuvOW5jBDHpTXft9BS-0-b05a8a8909ceba8fe43c71d0ad064f17)
With this tool, entries in the rb_user table and the rb_comment table can be visualized for ease of development.