Skip to content

Commit

Permalink
init project
Browse files Browse the repository at this point in the history
  • Loading branch information
lsgwr committed Dec 17, 2018
0 parents commit 02bcfde
Show file tree
Hide file tree
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.
94 changes: 94 additions & 0 deletions README.md
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数据库共同完成对信息增删查改操作。

### 系统架构

系统架构图

![image](doc/系统架构.png)

系统分为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. 考生查看成绩,查看错题

### 部分界面

前台

![image](images/图片1.png)

考试
![image](images/图片4.png)

后台
![image](images/图片2.png)

考试管理
![image](images/图片5.png)

考试分析(实现了部分)
![image](images/图片6.png)

个人资料
![image](images/图片3.png)

***



Binary file added doc/流程.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/流程.vsdx
Binary file not shown.
Binary file added doc/用例图.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/用例图.vsdx
Binary file not shown.
Binary file added doc/系统功能需求图.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/系统功能需求图.vsdx
Binary file not shown.
Binary file added doc/系统架构.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/系统架构.vsdx
Binary file not shown.
Binary file added doc/系统模块.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/系统模块.vsdx
Binary file not shown.
4 changes: 4 additions & 0 deletions fileServer/.bowerrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"directory": "app/bower_components",
"interactive": false
}
8 changes: 8 additions & 0 deletions fileServer/.gitignore
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/
24 changes: 24 additions & 0 deletions fileServer/.jshintrc
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
}
}
17 changes: 17 additions & 0 deletions fileServer/.travis.yml
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
3 changes: 3 additions & 0 deletions fileServer/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"git.ignoreLimitWarning": true
}
13 changes: 13 additions & 0 deletions fileServer/ISSUE_TEMPLATE.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## 该问题是怎么引起的?



## 重现步骤



## 报错信息




22 changes: 22 additions & 0 deletions fileServer/LICENSE
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.

15 changes: 15 additions & 0 deletions fileServer/PULL_REQUEST_TEMPLATE.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## 该Pull Request关联的Issue


## 修改描述



## 测试用例



## 修复效果的截屏



Loading

0 comments on commit 02bcfde

Please sign in to comment.