Skip to content

ibrahimkarayel/todoBoot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot - Thymeleaf

INTRODUCTION

This project demonstrate sample spring boot todo application with Thymeleaf

REQUIREMENTS

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>
```

INSTALLATION

  1. Clone project and import as maven project.
  2. Update MYSQL usernane and password under the application.properties spring.datasource.username= and spring.datasource.password=
  3. change log directory as you wish under te log4j2-spring.xml <Property name="log-path">

Run Application

  1. You can run application

    1. tr.com.jowl.Application class or
    2. mvn spring-boot:run or
    3. run mvn package then cd 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>
    
  2. Go-to main page you will be redirected login page

    1. Click registration tab and register with any usermane and password Go-to register page
  3. Login with your username and password Go-to login page

  4. Add new task tab is active by default. You can add new tasks or modify existing tasks

  5. Deleted task goes to trash box (Delete tab)

    1. Click delete icon delete permanently or
    2. Click restore restore deleted task.
ThymeLeaf enable hot swapping for dev

spring.thymeleaf.cache: false -> intellij idea press CTRL + f9

Watch Courses

course video

ibrahim karayel