Git Product home page Git Product logo

exam-student-back-end's Introduction

在线考试系统(学生端Nodejs后台)

项目采用 Node + Koa2 + Mysql

前言

这个是本系统的学生端的后台代码 前端代码点击: 教务管理+在线考试系统(教师端) 在线考试系统(学生端)

功能模块

  • 用户

    • 登录
    • 修改密码
  • 考试

    • 查询当前学生是否有将要进行的考试
    • 得到试卷的所有题目
    • 交卷

代码目录

+-- controllers/                            ---控制器,对请求的操作(相当于MVC中的C)
|    --- exam.js                            ---考试模块
|    --- user.js                            ---用户模块
+-- models/                                 ---数据模型(相当于MVC中的M)
|    --- connection.js                      ---数据库连接  
+-- node_modules/                           ---项目依赖的模块
|    --- ...
+-- routes/                                 ---路由控制器
|    --- exam.js                            ---考试相关路由
|    --- user.js                            ---登录相关路由
+-- static/                                 ---静态资源托管目录
|    --- ...
--- app.js                                  ---项目入口及程序启动文件
--- package.json                            ---包描述文件及开发者信息
--- README.md                               ---项目说明
--- exam_student.sql                        ---mysql数据库导出的备份文件                             

启动项目

node app.js

项目演示

在浏览器地址栏输入

http://127.0.0.1:3000/#/login

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.