Code Monkey home page Code Monkey logo

call-for-health's People

Contributors

chasekafei avatar dependabot[bot] avatar divisey avatar lyricat avatar phantomk avatar yuyucongcong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

call-for-health's Issues

实名制

根据监管要求,必须实名制。

为了提高 abuse 的门槛,我们也需要对系统进行实名制。所有系统角色都必须实名制。

实名制使用 face id 国内版进行。用户需要上传身份证照片到 face id,然后在 face id 进行活体验证,方可通过实名。

实名信息需要加密保存,解密用的私钥需离线保存。

产品设计

基本是一个小型论坛。每一个 thread 就是一个 requirement。每个 thread 都需要志愿者 review 才能真的发布出来。

每个 thread 需要包含 requirement 的详细信息,包括并不限于发起人、地址、具体的需求货物、联系方式。

每个 thread 可以直接生成唯一的 link 便于分享,并且能生成图片,方便在微信中传播。

所有 thread 信息都需要存证,并且对 thread 的操作也需要存证。

志愿者可以 confirm、mark as done、hide 任意 thread

thread 可以被 append additional information,比如物流状态,物流编号,附言等等。

数据库设计

users 表

  • id
  • role
  • state
  • encryptedRealName
  • encryptedRealId
  • uniqueHash

requirements 表

  • id
  • creatorId
  • text
  • txId
  • location
  • tel

Products 表

  • id
  • productName
  • model
  • category
  • description
  • photoUrls # JSONP maybe

requiredProducts 表

  • requirementId
  • productId

权限与角色

系统中存在几种角色:

  1. 管理员,目前由我来做,不进入系统实现,负责系统的研发运维。
  2. 志愿者,所有的志愿者,有权限发布需求、改变需求状态,需要注册和实名
  3. 用户,可发布信息,但是信息进入 pending 状态,由志愿者来核实,需要注册和实名
  4. 浏览者,可以查看站点中的公开需求,不需要注册

需求概述

原始设想:组织社会力量,帮助疫区或突发事件地区解决面临的问题

理想的方式:

  1. 构建一个以需求为中心的协作平台,即时交流并跟踪状态(发布-核实-认领-解决-确认)
  2. 所有入驻的相关方(需求发布方、服务提供方、核实方)均经过统、有效的方式进行认证
  3. 获得官方认可并授权(比如应急管理部)
  4. 通过各种渠道和流量平台推广

实际的运作可能远比这复杂,但做比不做好

前端:需求详情页面提供分享按钮

点击分享按钮,进入新页面
新页面上重点展示“谁”、“需要什么(最多3行)”。提示扫码后查看最新的需求状态。

然后提供二维码,扫码后跳到需求详情页面

前端:附言

  • 显示在需求详情中,按时间倒序,小字体。
  • 添加入口也在需求详情中。

API:附言

  • 只有志愿者可以附言
  • 附言不可修改和删除
  • 附言内容上链

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.