org.padler:thyDbAdmin

Thymeleaf DB admininstration


License
MIT-feh

Documentation

thyDbAdmin

Build Status Quality Gate Status

Bugs Code Smells Vulnerabilities Coverage

Inspired by phpMyAdmin and phpPgAdmin, ThyDbAdmin aims to integrate a database management tool into your Spring Boot application.

Usage

Gradle

implementation 'org.padler:thyDbAdmin:1.3.0'

Maven

<dependency>
  <groupId>org.padler</groupId>
  <artifactId>thyDbAdmin</artifactId>
  <version>1.3.0</version>
</dependency>

Configuration

Enable thyDbAdmin Controllers (without this you can access the services but not the /thyDbAdmin URLs)

thyDbAdmin:
  controller: true

Disable Flyway auto configuration, in case of a FlywayException on startup

thyDbAdmin:
  saveMode.enabled: true

Security configuration (optional)

Let only "ADMIN" users access thyDbAdmin

@Override
protected void configure(HttpSecurity http) throws Exception {
     http
        .authorizeRequests()
        .antMatchers("/thyDbAdmin/**").hasRole("ADMIN");
}

Start

Go to http://localhost:8080/thyDbAdmin

Overview of the tables: Overview


Query result: Select


Database information: Database info