/dbbrowser

Primary LanguagePLpgSQL

CI

DBBrowser

Simple API for browsing database structures, currently with support for PostgreSQL.

Prerequisites

  • Java 11
  • Docker

How to build and test

$ ./mvnw clean verify

How to run

  • for quick testing with H2 in-memory database:
$ ./mvnw spring-boot:run
  • or with PostgreSQL:
$ ./mvnw spring-boot:run -Dspring-boot.run.jvmArguments=" \
      -Dspring.datasource.url=jdbc:postgresql://localhost:5432/postgres \ 
      -Dspring.datasource.username=postgres \
      -Dspring.datasource.password=******"

API documentation

TODOs

  • security
  • improve logging
  • improve documentation
  • handle unusual/large data types
  • support another database types
  • support data pagination
  • storing credentials
  • consider metadata caching
  • consider statistics pre-calculation
  • tests with large database
  • tests necessary permissions for database user