Giter Site home page Giter Site logo

checkinmanagerfrontend's Introduction

CheckInManager

开发文档

  • 开发规则

    • 逻辑功能文档从开始编写到完成,一直有细小改动,前端如有问题或开始写交互的话请艾特下后端

    • 请大佬们把自己写的代码认真测试过后再提交上来

    • 一切开发请在dev分支上进行

    • 最好保持node和npm版本是最新的stable版本(node保持在8.0.0以上的版本就ok)

    • 保持es6规范,每次提交代码前需检查一下:

      npm run lint

    • 字符串尽量使用单引号或后撇号

    • 具体设置文件在config文件夹下,端口默认为8000

    • 记得把无关文件名添加进.gitignore

    • 提交代码前先拉取最新代码确保不出现冲突

  • 运行方式

    • 确保已经安装mysql和redis服务端,并将config/index.js中数据库的参数改成和本机数据库一致

    npm install

    • 跑测试文件(仅测试model层接口)

    npm run test

    • 运行服务端(目前尚不能运行)

    npm run dev

  • 后端进度

    • 尚未完成:

      • 对controller和router层代码的测试(未来交给后端会完成)

      • 由于尚未定下前端获取签到绑定是mac还是ip,数据库未对此做出唯一性的检验

      • 没有对gps格式进行验证

      • 没有对学生签到的gps是否在老师发起签到的gps附近进行验证

checkinmanagerfrontend's People

Contributors

imhejiamin avatar lebronx avatar tpisntgod 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.