How to access your H2 database from browser (Spring boot Application)

H2 Console on browser
H2 console
application.ymlserver:
port: 9001
spring:
application:
name: product-services
datasource:
driver-class-name: org.h2.Driver
password: password
url: "jdbc:h2:file:~/products;AUTO_SERVER=true"
username: root
h2:
console:
enabled: true
jpa:
databae-platform: org.hibernate.dialect.H2DDialect
hibernate:
ddl-auto: update

--

--

--

Java||Spring-Boot|| Micro services Application developer|| INDIA

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Debugging React Applications with React DevTools

Debugging React Applications with React DevTools

Intro to Styled Components

A simple cartesian graph in D3.js

JavaScript UI Compilers: Comparing Svelte and Solid

TDD + Vue JS + Vuex = Magic (Part 1)

React Native local storage options: AsyncStorage

A Simple idea about React.

Angular Reactive Form Manager — Easy Guide

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sanjay Singh

Sanjay Singh

Java||Spring-Boot|| Micro services Application developer|| INDIA

More from Medium

Flyway in Practice — How I use in my projects

Obfuscate Spring Boot Applications with Proguard Maven Plugin

Develop Bluetooth LE application easily with JAVA and BleuIO

Swagger 2 with the Spring Boot