Video demo: CourseApp https://youtu.be/hvRBzQ1H84U
execute file database
Create database: base_create.sql
Insert database: insert_data.sql
./source/src/main/java/com/course/model/JdbcHelper.java
17: static String user = "sa";
18: static String password = "songlong";
./source/src/main/java/com/course/model/SendMail.java
config google email: https://myaccount.google.com/security
S1: turn on: 2-Step verification
S2: forward to https://myaccount.google.com/apppasswords
- mail & your device > generate
- copy app password generated example: "gicawozhnwuakhys"
S3: add your mail and app-password generated
32: public SendMail() {
33: this.user = "[your mail]";
34: this.pass = "[app - password]";
35: }
cd ..[project location]/CourseApp/source
mvn dependency:copy-dependencies
mvn -X clean exec:java
Open main and run with java
MainJFrame.java
another version: SOF2041_Ps18107_NgoDuyHoa_ASM.zip