40K to 100K+Star Mall e-commerce actual combat project is open source, with a collection of source code tutorials

I recently took a look at my Github and found that the mall project has broken through 40K+Star. I am a little excited! I remember that in August last year, the mall project just passed 20K+Star, and it has grown to 40K+Star after more than a year. Today I will talk to you about the development history of the mall project, I hope to inspire you!

 

Recent situation

There is a Java Topic ranking on Github. The mall project is currently ranked 9th. Many friends have discovered it for a long time. Here is the address: https://github.com/topics/java

 

development path

The original 20K+Star

Why write a mall project? Create a practical project that combines business and technology!

At the beginning of 2018, I wanted to find an open source project that combines business and technology to study, but I haven't found a suitable one, so I got the idea of ​​writing one myself. I always feel that if a project lacks business and application scenarios, it seems to have no soul. So the business chose a better-understood e-commerce, and the technology chose the popular SpringBoot. It lasted for more than 1 year. In August 2019, the mall project won 20K+Star.

SpringCloud series of tutorials

When the project develops to a certain level, it will always look for some new breakthroughs, so I want to transform the mall project into a microservice version. In the Java system, Spring Cloud has basically become the standard for microservices. So I wanted to study the whole set of Spring Cloud components first, and then transform it. In the research process, I wrote a series of tutorials covering the use of core components of large deployments, which is the springcloud-learning project, and has obtained 2.2K+Star.

 

mall-swarm microservice project

After mastering the complete set of Spring Cloud core components, the next step is to transform the mall project into microservices. After a period of polishing, the mall-swarm project released its first version in December 2019. Recently, the mall-swarm project has undergone a major update, upgrading to Spring Cloud Hoxton & Alibaba, using Nacos to replace the original registry Eureka and configuration center Spring Cloud Config, and using Oauth2 to replace the permission functions implemented by Spring Security. This is the most reasonable Spring Cloud technology stack.

 

Mall updated and perfect

The mall project has updated a lot of content this year, here is a review!

The Linux deployment methods that have been used before are mainly Docker and Docker Compose. Later, Jenkins automated deployment was added to facilitate the use of the production environment.

Many friends reported that OSS object storage costs money, so they joined the self-built MinIO object storage solution, but OSS is still recommended for the production environment, after all, server bandwidth is still very expensive!

The permission management function that has been in great demand has been realized. The annotation-based permission control that has been used before has been upgraded to dynamic permission control, and both the front-end and the back-end are available!

The product SKU function design and optimization have abandoned the previously solidified design and changed to flexible JSON storage.

It integrates the ELK log collection system and adopts the scheme of collecting logs by scene, which is suitable for production environment use, and it is more convenient to view logs!

Recently upgraded SpringBoot 2.3.0, and the various technical versions used have been completely new!

Mall-tiny rapid development of scaffolding

Mall-tiny used to be a project skeleton that inherited the complete technology stack of mall. I feel that it relies on too many services and is too complicated. This time I repositioned it as a rapid development scaffolding, simplifying the complexity and keeping only the most commonly used dependent services MySQL and Redis. Moreover, a complete authority management function is realized, which can be connected to mall-admin-web front-end projects, and the authority management system can be changed in seconds!

 

mall-admin-web front-end project

The mall-admin-web front-end project is mainly to increase the authority management function. Here is a reminder that the mall, mall-swarm, and mall-tiny projects can be seamlessly connected to the project, is it very versatile?

 

mall-learning learning project

The mall-learning project has been implemented throughout the development process of the mall project. With a complete learning tutorial, this may be a big difference between the mall project and other open source projects. The mall-learning project is a learning tutorial project specially created for the mall project, which contains a wealth of documents and sample codes. I have always used this method to update the project. First, I learn new technologies and write related tutorials in mall-learning. It can be regarded as technical research all the time, and then if the technology is appropriate, I will apply it to the mall project. I feel that this method is still very good. It has not only learned new technologies in depth, but also got practical applications. You can also try it when you learn new technologies.

 

Future outlook

I feel that so far, the mall project is not just an open source project, it has developed its own ecosystem, which can be called the mall series ecosystem. The mall project will continue to be updated in the future, striving to create a better practical learning project!

 

Project address, source code address, tutorial collection Mall e-commerce actual combat project open source series interested friends forward + comments, follow me and add assistant VX: MXW5308 to receive it for free [100% free]

 

Guess you like

Origin blog.csdn.net/weixin_45132238/article/details/108736786