1. Function realization
1. Frontend module
- The main functions of the front desk are: user registration, user login, my shopping cart, my order, product reviews, campus information
2. Backend module
- The main functions of the backend include: user management, product management, order management, comment management, information management, etc.
2. Technology selection
2.1 Backend technology selection
- SpringBoot(Spring、SpringMVC)
- MyBatis
- Thymeleaf
2.2 Front-end technology selection
- Layui
- jQuery
2.3 Development environment
- Operating system: Windows 10
- Programming language: Java 8
- Development tools: IDEA, Navicat
- Project build: Maven 3.3.9
- Server: Tomcat 8.5
- Database: MySQL
2.4 Deployment environment
- Operating system: CentOS 7.4
- Programming language: Java 8
- Server: Tomcat 8.5, Nginx 1.12.2
- Database: MySQL, Redis
3. Deployment steps
- Import the project into the Idea development tool
- mysql creates a new database singer, copies the sql table creation statement and executes the import
- Modify the \src\main\resources\jdbc.properties database configuration file in the source code, modify lines 1-3, and configure it as the local database address.
- Put the project into the tomcat container and start the project
- Browser access address Front-end access path: http://localhost:8080/fore/foreIndex Login account: Zhang Xin Login password: 795200 Back-end access address: http://localhost:8080/login Login account: admin Login password: 795200
4. System Demonstration
Administrator: 1. Log in
2.Homepage
3.User management
4. Product list
5. Product classification management
6.Comment list
7. Order list
8. Role management
9.Permission management
10.Administrator list
11. Information list
User: 1. Front page
2.Register
3.Log in
4. Log in to the home page
5.My order
6.My shopping cart
7. Frequently Asked Questions
8. Product details
9.Campus information