Coder Social home page Coder Social logo

quiz's Introduction

在线答题web项目

使用springboot+mybatis实现的在线答题web项目
功能说明:

分为用户端和管理端。
用户端具有注册、登录、修改密码、答题、查看答案、查看得分等功能。
管理端具有出题、判卷、查看某用户答题信息、查看某题目的答题情况等功能。
仅支持简答题类型的题目,当用户答题完成时管理员需要判卷评分,之后用户可以查看自己的得分。
用户答过的题目可以查看参考答案,如果当前题目没有作答,查看答案时会自动跳转到答题页面。

技术说明:

后端主要使用了springboot框架、使用mybatis操作数据库、前端使用thymeleaf模板。
前端出题页面和答题页面集成了百度的UEditor编辑器但只支持文本格式的输入,不支持文件和图片上传。
使用mysql数据库,表结构和初始化数据在项目根目录下的quiz.sql中。
使用maven管理项目,利用git做版本控制。

配置信息:

application.properties文件中以下信息可以根据自己的需要自行配置
spring.datasource.url=jdbc:mysql://localhost:3306/quizpro
spring.datasource.username=quiz
spring.datasource.password=study
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
#题目列表分页时每页的条目数量
pagecount=20

目前存在的缺陷:

如题目搜索等部分功能目前尚未完善
没有使用Spring Security 导致部分功能存在缺陷

使用说明:

1、将源码下载后导入IDE
2、在本地mysql数据库中创建一个数据库实例并修改application.properties文件中的数据库配置
3、在将项目根目录下的quiz.sql脚本导入到当前数据库,推荐使用navicat工具如果使用其他工具报错,请自行修改sql脚本。
4、运行com.gyq.quiz.QuizApplication.java
5、在浏览器中访问localhost:8080
6、默认管理员账号为admin密码为666666,学生账号请自行注册体验。

注意事项:

所有密码存储使用MD5加密
暂时没有添加管理员的功能,如有需求可以直接操作数据库,下一个版本中将添加此功能。

其他:

第一次在git上发布自己的项目,由于我主要做后端开发,不擅长前端技术页面设计显得简陋不雅望请见谅。如有其它问题欢迎联系我,也欢迎其它做技术的朋友与我交流。

作者email:[email protected]

quiz's People

Contributors

gyqgoo avatar uaholic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.