Skip to content

tubean/spring-boot-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-boot-application

Repository for Spring boot tutorials on https://tubean.github.io

#Prepare database

  • Create table user following script:
CREATE TABLE `user` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(45) NOT NULL,
  `email` varchar(45) NOT NULL,
  `phone` varchar(45) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
  • Config datasource in file application.properties

Run

  • Execute class MyspringcrudApplication

Image

  • Mange user:

manage

  • Add user:

add

  • Edit user:

edit

About

Repository for Spring boot tutorials on https://tubean.github.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published