According to the micro-service design idea, combined with Springcloud some excellent projects, such as service discovery, governance, configuration management, routing load, security control and other excellent solutions, using MAVEN technology to modular, service, atomized encapsulation and build, but also for the post-grayscale publishing, Continuous integration in advance to prepare for the work.
In addition, before setting up the environment, you need to master the use of Maven and related issues (not repeated here).
Honghu Cloud architecture using MAVEN to build, using MAVEN is not just a jar package control, it is important to seize a central role of Maven, that is, the entire project in a modular way, business and business decoupling, and then the modular business service or component , so that you can do any project or platform business porting.
Finally, consider the fine-grained division of services, such as: A login module, we can all the services related to the login service (basic information verification; user name, email, mobile phone authentication login, mobile phone Verification Code acquisition, verify the user is bound, etc.), and finally for multi-service service orchestration, In this way, the micro-service architecture is being done.
These are some of my experiences in doing projects or architectures to share with everyone, gossip less, the following is the code structure of the entire architecture:
1. System Services
?
2. General-Purpose components
3.APP structure:
Information and source Source address
E-commerce platform B2B2C Spring Cloud