Skip to content

#人类加油 #we-stay-strong 面向疫区内外民众和医疗机构的多维度信息整合平台 后端

License

Notifications You must be signed in to change notification settings

wuhan-support/backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bdb215f · Feb 26, 2020

History

70 Commits
Feb 20, 2020
Feb 20, 2020
Jan 31, 2020
Feb 25, 2020
Jan 27, 2020
Feb 15, 2020
Jan 30, 2020
Feb 4, 2020
Feb 7, 2020
Feb 7, 2020
Feb 26, 2020
Feb 25, 2020
Feb 26, 2020
Feb 7, 2020
Feb 26, 2020
Feb 16, 2020

Repository files navigation

Backend

Running a Server

  1. cp config.example.yml config.yml
  2. 相应位置填入石墨文档 Cookie 以及文档 ID
  3. 使用 go run . 即可运行项目

Usage

  • GET /accommodations 返回 JSON 形式的住宿信息列表
  • GET /platforms/psychological 返回 JSON 形式的心理咨询机构列表
  • GET /platforms/medical 返回 JSON 形式的线上医疗平台列表
  • POST /collect/form 创建数据到mysql
  • POST /upload 上传文件