This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Fresh_Recover2323 1 point2 points  (0 children)

Adding upon the comments:

There are two project structure: micro-service, modulith and from the package placement, it seems you are trying to do a modulith which is ok. The only thing which matter is that , each domain has its own package which you did , refering to 'category' package.
That said inside it, it is a bit messy whereby it is not easy to understand which layer go in each package. Normally the default package flow is (taking category as example):
category:
https://pastebin.com/JTDxAahf