r/SpringBoot • • Mar 01 '26

Discussion E-commerce with Spring Boot

Hello everyone, I hope you're all doing well. I'm writing to ask for your support for this project I'm sharing here. Whether it's by submitting an issue, a PR, or giving a star, this is my first big project. Thank you all!

https://github.com/MiguelAntonioRS/Ecommerce-with-Spring

28 Upvotes

15 comments sorted by

View all comments

Show parent comment

2

u/AlarmOpening2062 Mar 03 '26

Thank you so much for your thoughtful feedback! I really appreciate you taking the time to review the project and share your insights.

You're absolutely right about modularity — grouping by feature/entity (like user/service/...) is cleaner and scales better in large apps. My current structure follows a more traditional Spring Boot layer-based approach (controller/service/repository), which works for now, but I’ll definitely refactor it as the project grows.

Regarding testing: you’re 100% correct. I plan to add JUnit + Mockito tests soon to cover services and controllers without relying on a real database. That’s next on my list!

And thanks for the kind words about the README — I’ll keep improving the navigation and documentation too.

If you ever make your repo public, I’d love to learn from your architecture!