项目作者: BalamiRR

项目描述 :
Spring Boot + JPA + MySQL+ Thymeleaf + Junit
高级语言: Java
项目地址: git://github.com/BalamiRR/SpringBoot-User_Directory.git
创建时间: 2020-04-03T17:25:17Z
项目社区:https://github.com/BalamiRR/SpringBoot-User_Directory

开源协议:

下载


User Directory

Spring Boot + JPA + MySQL + Thymeleaf (Template Engine) + JUnit5

The project is about inserting, deleting, updating and selecting users from the directory.
This project is made with using Spring Boot, Data JPA, Thymeleaf (Template Engine).
Testing was implemented with JUnit5.

Interface of User Directory

alt text

Inserting and Updating User

alt text

When the user wants to update the person who exists on the list will be placed in the box after clicking on the update button.

alt text

Deleting User

When the user clicks on the update button, the pop-up window will have appeared on the top and the user will be asked whether sure to delete the person on the list.

alt text

Testing

In this project, Testingwas implemented for @Service Layer and @Controller.

@Controller :

Totally, 6 methods were constituted for @Controller. Those methods are about the testing the @Get, @Delete, @Post and @Put annotations to check whether returning HTTP: 200 or HTTP: 404 errors etc.

Passed : 6 Failed : 0

alt text

@Service :

Totaly, 3 methods were constituted for @Service. Those methods were about to check by id, creating person and getting all person whether returning correctly or not.

Passed : 3 Failed : 0

alt text

~THE END ~