Skip to content

FlashDin/springboot-crud-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

springboot-crud-demo

Spring Boot CRUD demo is demonstrating how to implement simple CRUD operations with a Product entity.

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

demo

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/springbootdb
spring.datasource.username=root
spring.datasource.password=
spring.jpa.hibernate.ddl-auto=update

Usage

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

or

run this command in the command line:

mvn spring-boot:run

About

Spring Boot CRUD demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 50.3%
  • Java 49.7%