This project demonstrate sample spring boot todo application with Thymeleaf
JDK 1.8+,
Maven 3.2+,
Mysql 5.7+,
Bootstrap 3.3+, Jquery 2.1+ and Datetimepicker for Bootstrap 3
if you use JDK9 this dependency required
```
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</dependency>
```
- Clone project and import as maven project.
- Update MYSQL usernane and password under the application.properties
spring.datasource.username=
andspring.datasource.password=
- change log directory as you wish under te log4j2-spring.xml
<Property name="log-path">
-
You can run application
tr.com.jowl.Application class
ormvn spring-boot:run
or- run
mvn package
thencd target java -jar todoApp.jar
Hint:spring-boot-maven-plugin
is required for java -jar options
<plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin>
-
Go-to main page you will be redirected login page
- Click registration tab and register with any usermane and password Go-to register page
-
Login with your username and password Go-to login page
-
Add new task tab is active by default. You can add new tasks or modify existing tasks
-
Deleted task goes to trash box (Delete tab)
- Click delete icon delete permanently or
- Click restore restore deleted task.
spring.thymeleaf.cache: false
-> intellij idea press CTRL + f9