call-for-health's People
Forkers
chasekafei yuyucongcong yin-shu loyin haoleism iyuxiaoyan phantomk leeduckgo minkooz tisucy shaunstanislauslau zhengyuanchain riop777call-for-health's Issues
实名认证取消后返回的链接not found
在注册后,点击实名认证,跳转到face api 做认证,但在取消后跳转到如下链接显示 not found。
https://cfh-api.firesbox.com/kyc/faceid/callback?biz_token=1580097196,96e5dfce-c03e-4996-b530-8f8076476f95
实名制
根据监管要求,必须实名制。
为了提高 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
民间资料汇总
【最全整理】湖北防疫需求与民间援助信息、捐款渠道汇总
https://shimo.im/docs/cRrJwHdGXdX9CP8x/read
权限与角色
系统中存在几种角色:
- 管理员,目前由我来做,不进入系统实现,负责系统的研发运维。
- 志愿者,所有的志愿者,有权限发布需求、改变需求状态,需要注册和实名
- 用户,可发布信息,但是信息进入 pending 状态,由志愿者来核实,需要注册和实名
- 浏览者,可以查看站点中的公开需求,不需要注册
需求概述
原始设想:组织社会力量,帮助疫区或突发事件地区解决面临的问题
理想的方式:
- 构建一个以需求为中心的协作平台,即时交流并跟踪状态(发布-核实-认领-解决-确认)
- 所有入驻的相关方(需求发布方、服务提供方、核实方)均经过统、有效的方式进行认证
- 获得官方认可并授权(比如应急管理部)
- 通过各种渠道和流量平台推广
实际的运作可能远比这复杂,但做比不做好
前端:如何在登录后回退到首页
如题
前端:需求详情页面提供分享按钮
点击分享按钮,进入新页面
新页面上重点展示“谁”、“需要什么(最多3行)”。提示扫码后查看最新的需求状态。
然后提供二维码,扫码后跳到需求详情页面
前端:附言
- 显示在需求详情中,按时间倒序,小字体。
- 添加入口也在需求详情中。
前端:需求列表分页支持
点击来源时会弹出来源网页,但是SPA程序会跳转到明细也
API:附言
- 只有志愿者可以附言
- 附言不可修改和删除
- 附言内容上链
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.