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

Introduction to RequireJS

Continuous testing and integration with GitHub repo and CircleCI

JavaScript: Closures

Handle Errors in Angular with HttpClient, RxJS, HttpInterceptor

Editor.js Read Only mode in Angular

The first step towards Javascript

Find the Unique Number in an Array: Using the XOR operator

The Missing Introduction to Angular and Modern Design Patterns

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

Application Development — Database Design the Better Way using Spring JPA, PostgreSQL and…

Design application better way

Lets create a java sample project part 1

Creating database seeder in spring boot application

Writing Unit Tests in Spring Boot