filmov
tv
Library Mgmt System: Spring Boot, JPA3, Maven, Thymeleaf, Tailwind, Docker, Postgres, Lombok, Java20
Показать описание
Hello and welcome!
Without any introduction, let's deep dive into the project layers.
I'll start by running the bash shell script to create the project's PostgreSQL database using Docker.
Here, I check the container database status, and you can see that it is ready for the business.
Next, I check the database schema, and currently, there are no existing tables.
I used the database credentials, and then I set up Hibernate and JPA.
I extended the AppRunner to seed the database with dummy data.
Now, I start the project, and you can see the data seed logs on the screen.
Let's go back to the database schema and refresh, and now you can see the "book" table with its respective columns.
I refresh the app in the browser and add a new book with the following details: Name, description, and price.
After saving, you can see the 6th new row.
I also deleted the 3rd row and edited the 5th row.
Thank you for watching! See you in the next one.
Bye.