Complete project source code download link:
https://download.csdn.net/download/weixin_47367099/85441827
1. Project Description
1.1 Module description
- web module: the entry point of the project, through which the entire project is started
- commons module: public modules, some public tool classes of the system, etc.
- ahtuor module: user management module, responsible for the management of system users and the control of permissions, etc.
- mail module: responsible for email notifications within the system
- community module: community business processing module
1.2 Architecture Description
This system uses the front-end and back-end separation projects of the SpringBoot+Vue framework
1.2.1 System Backend
The system backend uses the SpringBoot framework, uses Mysql to achieve data persistence, and uses MyBaitis-Plus for data bridging. Shiro is integrated for permission control, and Redis is used for data caching, which greatly improves the access speed.
1.2.2 System front end
The front-end of the system is developed using the Vue framework, and the excellent mobile UI framework Vant is used to beautify the interface, which is very suitable for operation on mobile devices. At the same time, the front-end project can be packaged into an Andriod program using HbuildX to install it on the mobile phone.
1.3 System interface display
front page | Community | Personal Center |
---|---|---|
Exception handling | User Management | permission grant |
make an announcement | community creation | Submit record |
2. Startup Instructions
2.1 Configure static resource directory
This system has built a set of local file upload and download services. It is necessary to specify the location of the static resource directory in the configuration file to store images such as user avatars and website logos.
Configuration
lvyx:
system:
file-path: "/app/community_system_file" # 文件存储路径
logo-path: "/app/community_system_file/STATIC/logo/logo.png" # logo存储路径
After configuring the static resource path and website logo path, please web/resources/logo/logo.png
place the images in the project at the corresponding locations. Otherwise, the website logo cannot be loaded and the QR code cannot be displayed when using the health code.
Note: The path can write relative path and absolute path
2.2 Database
The system database file is stored in web/resource/l_coummunity.sql
the location, and can be imported using Navicat.
2.3 start
- Start the idea and enter the web module, use
com.lyx.CommunitySystemApplication.java
the main startup class to start the entire project. - To start the jar package , use maven to package the project into community_system.jar (the name of the jar package can be modified in pom.xml under the web module). Run the following command to complete the startup:
nohup java -jar community_system.jar > temp.log 2>&1 &
3. Download project source code
Project source code download link: https://download.csdn.net/download/weixin_47367099/85441827