If you have found a complete project on GitHub, learn how to do a project? To halo blog system, for example, the use gradle project management, the use of Spring Boot framework.
View reliance
View by maven or gradle configuration items depend on which components.
Running the Project
Spring Boot project has an application entry in the src directory, you can run the entire project accordingly.
Non-code files to see resources, configuration files and so on.
View Code
controller layer, receiving a request sent by the front end, to dispatch
the service layer, the service layer, service code / logic code
db repository to store and interact with the code
model are objects, entity and related databases, dto object stored re-encapsulated
Other components
util toolkit
security security verification
listener listener
Filter filter
handler processor
exception Exception Handling
factory factory class
cache cache
config configuration
debug
By entering the front end, a rear end controller how to look through url receives and processes the request, Reference A white box idea can know how the internal logic of the jump. The entire project structure is perfect, many places also conducted a number of reconstruction. With debug way we can better know the internal logic, in their own time to write the project can learn from this line of thinking.