Complete code download address: Online examination system source code + database + deployment document based on Springboot+layui+mysql
1. Deployment related
1.1. Introduction
An online examination system implemented in JAVA. It mainly implements an examination system based on different types of objective questions and performs functions such as automatic composition and marking of papers (no subjective questions).
1.2. System architecture
Backend technology stack | Based on Spring Boot |
---|---|
database | MySQL |
ORM | MyBatis & MyBatis-plus |
cache | |
Safety | Shiro |
Excel export | easyexcel |
Log | slf4j、log4j2 |
upload picture | qiniu |
Other tools | swagger、hutool、guava、hibernate-validator |
I really don’t know much about the front end[dish…]
Front-end technology stack | Based on layui |
---|---|
template engine | thymeleaf |
Table display | throw |
1.3. Deployment
Simply start:
-
Install Mysql and execute the sql file, modify the data source configuration ,
test-system.sql
seeapplication.yaml
-
start up! !
Deploying the server: Compared with the above, there are several more steps
start up! !
Use tomvn clean install
package the project as a jar package. If the packaging in IDEA fails, I must enter the project folder through cmd and then execute this command (the specific reason seems to be that IDEA packaging does not use the springboot packaging plug-in by default)- Push it to the server, and then execute
java -jar xxx
Start! !
2. Need analysis
2.1. Basic functions
- log in Register
- Home bulletin board
- Operation log
2.2. Students
- Query exam list
- Take the test
- View the wrong question set
- Performance analysis
2.3. Teachers
- Approval management: manage approval requests bound to your own class
- Student Management: Manage all students in your own class
- Class management: manage your own class
- Exam management: publish exams (automatically generate test papers), modify exam information, cancel exams
- Achievement statistics
2.4. Administrator
- User management: manage ordinary users (student, teacher roles)
- Approval management: Manage the approval of a class where students are bound to teachers (add, agree/reject approval, delete, check)
- Class management: manage all classes in the system
- Query results, record questions
- Topic management: including single choice, multiple choice, judgment
- Question bank management
- Announcement management
- Test paper management: Manage corresponding test papers (ended exams are locked and cannot be modified)
- Exam Administration: Manage exam-related information
2.5. Super management
Have all role permissions and add functions on this basis:
- Admin Management: Manage Admin Role Users
3. Partial running screenshots
3.1. General
3.2. Students