Skip to content

DedPixta/mvc_todo_list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To-Do List app

Task management application for Spring MVC technology practice

Finished goals

  • Create a basic CRUD application with MVC architecture;
  • Make a table to display all tasks using a template engine;
  • Package the application in a docker container;
  • Make it possible to run application and database through docker compose;

Actions

Command Method Address Description
Add POST /tasks Create new task with description and status
Show GET /tasks/{id} Show task with ID, where {id} - id of the task which you want to see
Show all GET /tasks Show all existing in database tasks
Delete DELETE /tasks/{id} Delete task with ID, where {id} - id of the task which you want to delete
Edit PUT /tasks/{id} Edit task with ID, where {id} - id of the task which you want to change

To run project

  1. Download the project and extract it
  2. Make sure you have installed docker and ports 8080, 3306 are free
  3. Open a command line in the location where the application is installed and run the command:
docker compose up
  1. The application will download all dependencies and create a docker container. Docker container will be launched automatically
  2. After the successful completion of the previous point, the application will be available at the link:
http://localhost:8080/todo/tasks

image

Technologies used

  • Spring (Core, Data, MVC)
  • Thymeleaf
  • Liquibase
  • Lombok
  • Mapstruct
  • Hibernate validator
  • Logger (Log4j2, Slf4)
  • Docker
  • Tomcat
  • MySQL