6a1e528bfd
Read me changes |
||
---|---|---|
.. | ||
src | ||
README.md | ||
pom.xml |
README.md
Hexagonal Architecture
A quick and practical example of Hexagonal Architecture using Spring boot.
This application is using h2 database,which can be accessible http:/localhost:8080/h2
Main Application schema : hexagonal
Test Application Schema : hexagonal_test
-
Rest Api : execute App
- Get All products : http://localhost:8080/api/v1/product/all
- Get product by id : http://localhost:8080/api/v1/product/{productId}
- Add a product : http://localhost:8080/api/v1/product/add
For more detail refer ProductController
-
Batch processing : We need to configure active profile as batch i.e. -Dspring.profiles.active=batch and execute ConsoleApp
-
Test case : ProductServiceTest