A CRUD Demo Project of Bookstore in Spring Boot, Hibernate, Data JPA, Thymeleaf & PostgreSQL.
- JDK 1.8
- PostgreSQL
- Spring Tool Suite 4 OR Eclipse IDE
1. First setup JDK8, PostgreSQL & STS4/Eclipse if you don't have.
2. Clone this repo.
3. Create PostgreSQL database
CREATE DATABASE BookStoreDemo
4. Change PostgreSQL username and password as per your installation
- open
src/main/resources/application.properties
- change
connection URL
,username
andpassword
as per your PostgreSQL configuration.
5. Now you can also run this app using below command in CMD
mvnw spring-boot:run
6. Open chrome browser and visit the below URLs
- The appication will start running at http://localhost:8080.