Skip to content

ahmedatef00/SuperMarkets

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages