The actual combat of the 78.3K open source spring boot mall system on Github built by Java

Opening

This article is the actual combat as always. This time I will build an open source shopping mall system. The students watching need to have a certain working foundation, and the source code is also very good and I can find it on github. If you are only interested in the source code, please skip to the end of the article after reading the introduction, there is a way to get the link on the open source github. If you are interested in learning the building process, hurry up to follow, forward, and collect. After all, the source code is useless. How to use it is the key point. The source code is easy to find and debugging is not easy, please cherish it.

Project Description

This project is an open source spring boot mall system . There are already 21k+ stars on github, and forks have reached 8k+, and it continues to rise. After a while, it may reach more than 30k+, and gitee also has close to 2k+ stars. Of course, in my opinion, this is a personal project, and it is not perfect yet. Some functions can be used for reference.

Project structure

The project architecture is our common nginx for load balancing, zuul as the gateway routing backend interface, Spring Cloud Eureka as the service registration management center, rabbitmq as the message middleware to coordinate data synchronization between various modules, storage uses redis, mysql, mogodb ; The search engine uses Elasticsearch, the architecture is a little simple , the service monitoring is not perfect, the background code is also under development, you can continue to pay attention, but it is a very good example to use for reference and learning, some modules can be copied directly and used of. Here is the author's architecture diagram directly, respect and thank the open source author.

Actual combat of open source spring boot mall system built by Java

 

Main modules of the project

Commodity management, order management, promotion management, I think the author's development progress has been completed, I want to give the author a thumbs up here, or you can use it for reference and copy it directly to your own system for reference! The other modules have not been developed yet. There are several front desks in general: homepage portal, product recommendation, product search, product display, shopping cart, order process, product search, customer service, and help center. Backstage: commodity management, order management, membership management, promotion management, operation management, content management, statistical reports, financial management, authority management, etc. For other details, the author has written a lot on his open source homepage, so I won’t introduce it here.

Core debugging part

Environment: computer with 16G memory, JDK1.8 or above, Maven3.6 or above, development tools Idea, mysql 5.7 or above, redis 3 or above, and mogodb must be installed.

1. As always, import the project from the open source github or the address on gitee, as shown in the following figure. If the network is fast, it will be fine for a few minutes, if the network is slow, then wait.

Actual combat of open source spring boot mall system built by Java

Screenshot of idea import project method

2. It looks roughly like this after the import is completed. It seems that the project is a little bit less, but not as many as possible. In fact, the open source author still works very hard. A lot of design, one person, also very powerful.

Actual combat of open source spring boot mall system built by Java

 

3. Import mysql and source it. There are still a lot of tables, more than 70, screenshots are not complete, if you are interested, get the code, sql, and import it yourself. As shown below.

Actual combat of open source spring boot mall system built by Java

 

Actual combat of open source spring boot mall system built by Java

Table diagram

4. Start running basic dependencies, mongodb, Elasticsearch, redis, etc., as shown in the screenshot below

Actual combat of open source spring boot mall system built by Java

mongodb

Actual combat of open source spring boot mall system built by Java

Elasticsearch

Actual combat of open source spring boot mall system built by Java

repeat

5. Run the back-end project, as shown in the figure below, start each service of the back-end service. Of course, the project is still being improved. I only start a background management service and start it in idea, and a front-end service npm install and npm run dev to let everyone see the effect.

Actual combat of open source spring boot mall system built by Java

admin background startup effect

Actual combat of open source spring boot mall system built by Java

Front-end project started

6. The running effect is finished, as shown in the figure below:

Actual combat of open source spring boot mall system built by Java

 

Conclusion

This set of open source code is suitable for reference and learning, especially for students who are new to spring boot. The project is not perfect. It is not recommended to use it ethically, just choose the essence, you can collect it and watch it slowly. As siege lions, we are sorry if we don't collect some codes. Old rules, forward, pay attention, hurry up and collect it, reply "666" in private message, and take the open source address link of the author of the open source mall! ! If you have any questions, you can also leave a comment and make progress together!!

Guess you like

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