Code Monkey home page Code Monkey logo

exam_back_end's Introduction

系统程序设计课程设计后端

基于原项目做代码重构

技术栈

SpringBoot2.0 + MySql 5.6 + Lombok等
接口按照标准REST风格进行设计,参考博客,GitHub官方说明文档

基本功能

  • 用户注册、登录模块
  • 个人信息管理模块
  • 管理员对用户信息、监考信息、任务信息的增删改查模块
  • 用户查询监考信息、任务信息的模块等等
  • 功能说明文档

E-R图

项目记录

2019.4.10

后端环境搭建完成,数据库创建完成
使用BCryptPasswordEncoder对密码进行多次加密,使得明文相同密文不同
使用Encryptors基于秘钥和盐值对用户id和操作权限进行加密得到token
完成用户部分的拦截器,对未携带Token的访问进行拦截
基于原生的HttpStatus状态码进行错误返回,减少资源使用
对于非受检异常进行统一异常处理

2019.4.14

完成管理员的接口编写

2019.5.26

更改了实体命名规则 添加了所有功能的增删改查接口 完成管理员的接口编写

2019.5.28

后端服务基本搭建完毕,接口请见API文档

未来考虑引入的功能

  • 生成token时加入时间信息,解密token后对比时间是否超时,超过时间限制设置无效.
  • 利用Nginx做反向代理,隐藏真实服务器

exam_back_end's People

Contributors

asdjifqnw 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.