Task management application for Spring MVC technology practice
- 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;
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 |
- Download the project and extract it
- Make sure you have installed docker and ports 8080, 3306 are free
- Open a command line in the location where the application is installed and run the command:
docker compose up
- The application will download all dependencies and create a docker container. Docker container will be launched automatically
- After the successful completion of the previous point, the application will be available at the link:
http://localhost:8080/todo/tasks
- Spring (Core, Data, MVC)
- Thymeleaf
- Liquibase
- Lombok
- Mapstruct
- Hibernate validator
- Logger (Log4j2, Slf4)
- Docker
- Tomcat
- MySQL