forked from lsgwr/spring-boot-online-exam
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 02bcfde
Showing
8,067 changed files
with
1,411,801 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
### 项目说明 | ||
|
||
基于项目 https://gitee.com/wells2333/spring-cloud-online-exam 修改地,原项目bug太多 | ||
|
||
本系统采用IntelliJ IDEA作为开发工具,基于面向对象的程序设计和微服务架构设计思想,前端运用Html5,Bootstrap,AngularJs等技术完成系统页面的设计和开发,后端使用Java语言,Spring Boot,Spring Cloud,MyBatis等框架,结合MySQL数据库共同完成对信息增删查改操作。 | ||
|
||
### 系统架构 | ||
|
||
系统架构图 | ||
|
||
 | ||
|
||
系统分为4个微服务,分别为Web前台网关服务,Web后台网关服务,授权服务,考试服务。 | ||
|
||
授权服务: | ||
|
||
基于OAuth2.0协议,集成Spring cloud security实现单点登录功能。同时作为资源服务器,提供用户信息的管理。 | ||
|
||
考试服务: | ||
|
||
作为资源服务器,提供考试信息的管理。 | ||
|
||
各服务名称和对应的端口号如下: | ||
|
||
service-registry 8761 | ||
admin-server 8871 | ||
api-gateway 8765 | ||
auth-service 8769 | ||
config-server 8870 | ||
config-client 8872 | ||
monitor-service 8873 | ||
cache-service 8874 | ||
|
||
### 各服务 druid 监控台地址、用户名、密码 | ||
|
||
auth-service http://localhost:8871/auth/druid/index.html admin admin | ||
|
||
exam-service http://localhost:8871/exam/druid/index.html admin admin | ||
|
||
|
||
### 用户名、密码、角色 | ||
|
||
admin 123456 管理员 | ||
|
||
test 123456 学生,老师 | ||
|
||
test1 123456 学生 | ||
|
||
|
||
### 考试流程: | ||
|
||
1. 用户前台注册成为学生 | ||
|
||
2. 管理员后台添加老师,系统将该用户角色上升为老师 | ||
|
||
3. 老师登录,添加考试,添加题目,发布考试 | ||
|
||
4. 考生登录前台参加考试,交卷 | ||
|
||
5. 老师后台批改试卷,查看成绩 | ||
|
||
6. 考试查看成绩 | ||
|
||
### 练习流程: | ||
|
||
1. 考生登录前台参加练习,练习完自动判分,记录错题 | ||
|
||
2. 考生查看成绩,查看错题 | ||
|
||
### 部分界面 | ||
|
||
前台 | ||
|
||
 | ||
|
||
考试 | ||
 | ||
|
||
后台 | ||
 | ||
|
||
考试管理 | ||
 | ||
|
||
考试分析(实现了部分) | ||
 | ||
|
||
个人资料 | ||
 | ||
|
||
*** | ||
|
||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"directory": "app/bower_components", | ||
"interactive": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
logs/* | ||
!.gitkeep | ||
node_modules/ | ||
tmp | ||
.idea | ||
.DS_Store | ||
angular-phonecat-snapshots | ||
bower_components/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"strict": "global", | ||
"globals": { | ||
// Angular | ||
"angular": false, | ||
|
||
// Angular mocks | ||
"module": false, | ||
"inject": false, | ||
|
||
// Jasmine | ||
"jasmine": false, | ||
"describe": false, | ||
"beforeEach": false, | ||
"afterEach": false, | ||
"it": false, | ||
"expect": false, | ||
|
||
// Protractor | ||
"browser": false, | ||
"element": false, | ||
"by": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
sudo: required | ||
dist: trusty | ||
|
||
language: node_js | ||
node_js: | ||
- '4.4' | ||
|
||
before_script: | ||
- export DISPLAY=:99.0 | ||
- sh -e /etc/init.d/xvfb start | ||
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | ||
- sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' | ||
- sudo apt-get update -q | ||
- sudo apt-get install -q google-chrome-stable | ||
|
||
script: | ||
- scripts/private/test-all.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"git.ignoreLimitWarning": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
## 该问题是怎么引起的? | ||
|
||
|
||
|
||
## 重现步骤 | ||
|
||
|
||
|
||
## 报错信息 | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
The MIT License | ||
|
||
Copyright (c) 2010-2012 Google, Inc. http://angularjs.org | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
## 该Pull Request关联的Issue | ||
|
||
|
||
## 修改描述 | ||
|
||
|
||
|
||
## 测试用例 | ||
|
||
|
||
|
||
## 修复效果的截屏 | ||
|
||
|
||
|
Oops, something went wrong.