Spring Boot CRUD examples is a simple crud example for a board
entity using Spring Data JPA and Querydsl.
This project is based on Spring Boot
- packages used
- Spring Data JPA
- Querydsl
- thymeleaf
- mariaDB
- maven
- lombok
The project is created with Maven, so you just need to import it to your IDE and build the project to resolve the dependencies
- If an error occurs for the Qclass See here
Create a mariaDB database with the name crud
and add the config to /resources/application.properties
.
Add your db info to the default settings :
spring.datasource.driverClassName=org.mariadb.jdbc.Driver
spring.datasource.url=jdbc:mariadb://localhost:3306/crud
spring.datasource.username=root
spring.datasource.password=
spring.jpa.database-platform=org.hibernate.dialect.MariaDB103Dialect
Run the project through the IDE and head out to http://localhost:8080