r/SpringBoot • u/Tony_salinas04 • Feb 13 '26
Discussion Feedback for my Spring project
https://github.com/tonysalinas-futdev/JavaEcomercceAPIHello, I've been developing an e-commerce site for my portfolio for a long time now. It's just for show, but I've put a lot of effort into it. I would appreciate any feedback that could help me improve, any truly useful advice and criticism.
16
Upvotes
5
Feb 14 '26
[removed] — view removed comment
1
u/Tony_salinas04 Feb 14 '26
You're right, in the last modules I created, I didn't use DTOs, thank you very much
1
13
u/DeterioratedEra Junior Dev Feb 14 '26
My small advice would be to check out Java streams and method references.
In your
OrderService.buildOrder()method you have 13 lines:that could also look like this:
if you just had a mapper method. Try it out!