Skip to content

firecode16/employees

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This project represents the basic operations for employee management.

-------------- Project structure ------------------------

image

-------------- Spring boot Runnner ------------------------

image

-------------- MySQL Data Base ------------------------

image

image

-------------- Open Swagger UI ------------------------
http://localhost:8082/api/swagger-ui/index.html

We proceed to launch requests from Swagger UI
Note: You can do your tests with Thunder Client or Postman

Curls templates json:
https://github.com/firecode16/employees/tree/master/src/main/resources/templates

image

-------------- Request POST ------------------------

image

image

image

image

-------------- Request GET ------------------------

image

image

image

-------------- Request PUT ------------------------

image

Employee Not Found test.
image

The employee was updated.
image

image

-------------- Request DELETE ------------------------

image

The employee was Not found

image

The employee was eliminated

image

image

-------------- Coverage JUnit Test ------------------------

image

🚀 😎 🔥