A simple todo list application that keeps track of your time.




How To

  • To access the application go to: http://localhost:8080/.
  • For API interactions use: http://localhost:8080/api/tasks and http://localhost:8080/api/messages.
  • A quick API tour is available in src/rest.http.
  • Database is automatically initialized and seeded. For production this needs to be disabled.
  • Gradle should build and pack the frontend assets in static folder.
  • It is possible that you will have to manually initialize the database. To do this use init.sql inside main/resources.


git clone

cd pawa-task

./gradlew bootRun


./gradlew clean

./gradlew build

java -jar ./build/libs/pawa-task-1.0.0-SNAPSHOT.jar


It is possible to use Hot Reloading with Vue.js. First start the Spring Boot app and then inside frontend run:

npm run serve



  • More robust error handling to prevent security related information leakage.
  • Better validation/sanitization of input and proper response messages.
  • Better Gradle settings.
  • Write tests to make changes easier.
  • Host on Heroku for showcase.
  • Add security layer and associate each user with own tasks.
  • Use Spring Rest Starter to remove boilerplate, similar to JpaRepositories.
  • Have an easier way to develop on different platforms by using Docker.
  • Simpler way to develop sql schemas with migrations and seeding of the database with fake data.
  • Use Enum types for priority, e.g
  • Find a better way to add individual comments (Extracted to TaskCommentController and TaskControllerService)
  • Find a way to make one-to-many and many-to-one relationship work. Right now when saving a Task that contains Comments no relationship is created. Comments have an empty foreign key.


  • Extract additional components and styles where necessary