Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 986 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 986 Bytes

Solution Description

The project uses the following technologies:

  • Java
  • Spring Boot
  • Mysql
  • Maven
  • MapStruct
  • Lombok
  • JUnit
  • spring Data
  • hibernate

Important Note

  • Please add api/v1 before any route
  • there is no api/v1 before serve static images
  • You will find schema.sql and data.sql
  • you should change application.proporeties for DB username,password

The architecture

  • The service uses Controller - Service - Repository pattern:

    • Controller: contains application logic and passing user input data to service
    • Service: The middleware between controller and repository. Gather data from controller, business logic, and calling repositories for data manipulation.
    • Repository: layer for interaction with models and performing DB operations.

    Random Notes

    • I used mapstruct may be we can manibulate data before returning it like activeate boolean to string
    • The end points is down there in pictuers