Skip to content

This is a simple CRUD web application built with Spring Boot

Notifications You must be signed in to change notification settings

truonghoangthuan/spring-boot-crud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-boot-crud

Spring Boot CRUD Web application with Pagination and Sorting features using Spring Boot, ThymeLeaf, Spring Data JPA, Hibernate, MySQL database.

What's inside

This project is based on the Spring Boot project and uses these packages:

  • Maven
  • Spring Core
  • Spring Data (Hibernate & MySQL)
  • Spring MVC (Tomcat)
  • Thymleaf

screenshot

Installation

The project is created with Maven, so you just need to import it to your IDE and build the project to resolve the dependencies

Database configuration

Create a MySQL database with the name springbootdb and add the credentials to /resources/application.properties.
The default ones are :

spring.datasource.url=jdbc:mysql://localhost:3306/spring_boot_crud?useSSL=false&serverTimezone=UTC&useLegacyDatetimeCode=false
spring.datasource.username=root
spring.datasource.password=root
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
spring.jpa.hibernate.ddl-auto=update
logging.level.org.hibernate.SQL=DEBUG
logging.level.org.hibernate.type=TRACE

Usage

Run the project through the IDE and head out to http://localhost:8080

About

This is a simple CRUD web application built with Spring Boot

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published