/demo

demo project for spring boot

Primary LanguageJava

demo

PREREQUISITE

I start mysql locally by docker using

docker pull mysql
docker run -d -p 3306:3306 --name demo-mysql -e MYSQL_ROOT_PASSWORD=123456 -d mysql:latest

Accessing database can be

mysql -h xxx.xxx.xxx.xxx -p3306 -uroot -p123456

TEST APP

you can test this program by clean and run

mvn clean install
mvn spring-boot:run

Then, application can be accessed by

localhost:8080

There is a submit button there can trigger

localhost:8080/save

SCREENSHOTS

Screenshot 2024-03-04 at 20 03 10

Screenshot 2024-03-05 at 23 33 48

Screenshot 2024-03-05 at 23 38 42 Screenshot 2024-03-05 at 23 44 16