Our great sponsors
-
There are a lot of generators/scaffolding tools that can generate a base for you, whether that is the actual structure you want or not can vary a lot, but many of them have quite sensible defaults. It's often a architectural decision how you actually want to structure your code, and isn't really a one side fits all thing. One generator i have used and a lot of the templates there have pretty close to production quality setup (obviously you could always argue about personal preferences and what serves the project in question) is https://yeoman.io/ . It's web focused, but paradigms vary so much between different kinds of development it's pretty impossible to create something that could serve all of them.
-
spring-boot-realworld-example-app
Example Spring codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld API spec.
Aside from generators probably better idea is github. It is full of simple "real life" example apps this and that. They are not obviously actually real life, but give you an idea how you could approach structuring your code. For example https://github.com/gothinkster/spring-boot-realworld-example-app not related to python or anything you mentioned, but there are a lot of these for probably all languages and frameworks.
-
Sonar
Write Clean Java Code. Always.. Sonar helps you commit clean code every time. With over 600 unique rules to find Java bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.