r/javahelp • • Apr 08 '22

GitHub examples of java spring boot applications that follow best practices

Where can I find some GitHub examples of java spring boot applications that follow best practices?

I found this, but there are no examples of response dtos, for example

https://github.com/ehabqadah/spring-boot-microservices-best-practices

I bet there's a community somewhere where they share such projects publicly but couldn't find it yet, I'd appreciate if you know such examples, it would really help me refresh my memory on best practices, syntax, etc.

I'm looking for similar project as linked above, microservices architecture with Controllers, Services, Repositories, Dtos, etc.

16 Upvotes

3 comments sorted by

View all comments

3

u/[deleted] Apr 09 '22

There's RealWorld where they created a clone of Medium.com using various frontend and backend frameworks.

1

u/nutrecht Lead Software Engineer / EU / 20+ YXP Apr 10 '22

These are examples random people created, not 'best practices'. Returning a data entity directly from the database through the layers as a REST response is definitely not a 'best practice' for example.

IMHO those examples don't teach you anything the standard Spring tutorials don't teach you. They're just bigger.