- User, TodoItem, Role
- MainController (for thymeleaf)
- UserController (for swagger)
- UserRegistrationController (for thymeleaf)
- UserService (Interface)
- UserServiceImpl
- UserRepository (has 1 method)
User findByEmail(String email)
- TodoItemRepository (has nativeQuery)
@Query(nativeQuery = true, value = "SELECT * FROM TASKlIST WHERE TODO_USER_ID= ?1")
List<TodoItem> findAllByUserId(int id);
{
"firstName": "abkode",
"lastName": "example",
"password": "123",
"email": "[email protected]"
}
--Delete button and todolist buttons are active.
---Use change status button to change false to true and also u can delete it.