Code Monkey home page Code Monkey logo

fzu-cpdailysign's Introduction

fzu-cpDailySign

node (tag) PRs Welcome %e2%9d%a4

介绍

fzu-cpDailySign 是带有基本前后端的今日校园签到测试工具:wink:

仅需几步,快速开始签到测试👇

  1. 注册后验证手机

step1

  1. 进行任务设置

step2

  1. 修改通知方式:

step3

功能

  1. 已经实现的功能
    • 用户注册/登录
    • 签到任务/信息收集任务
    • 手机验证码登录/验证
    • 手动任务测试
    • 自动任务测试
    • 可选的任务结果推送 iOS Bark / Server酱 / Qmsg酱
    • 历史打卡结果记录
    • 站点公告/更新时间显示
    • 站点公告推送
    • 自动任务测试
    • ...
  2. 正在测试中的功能
    • 当天通行码申请

开发

安装

前端采用Vue-Cli, 后端采用Express, 仍在完善中

# for backend, frontend...
$ git clone && npm install

此外,还需要一个Redis进行相关数据的存储

开发环境运行

  1. Vue
$ cd frontend
$ npm run serve
  1. express
$ cd backend
$ node app.js

相关配置说明

redis.json : 用于配置Redis相关的连接设置,按照文件内的说明进行配置

vue.config.js : Vue CLI相关配置,待完善

部署

前端部署

参考Vue-CLI的相关内容: https://cli.vuejs.org/zh/guide/deployment.html


后端部署

下面给出一种可能的通过pm2进行部署的方法:

$ pm2 start app.js -i max
# 目前在编号为10的核心中运行,可能需要根据自身情况进行相应修改,方法同下.

如果不使用pm2进行部署,需要修改cronSignTask中的相关内容.具体见utils.js

更多相关的配置,参考:https://pm2.keymetrics.io/docs/usage/pm2-doc-single-page/


使用其他方式部署时,需要修改定时签到中的相关内容.

Credits

Credit to:

TODO

  1. 检查账户有效性
  2. 账户安全性增强
  3. 相关信息提示
  4. ...

许可协议

MIT

fzu-cpdailysign's People

Contributors

windowsair avatar umrninside 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.