# backend **Repository Path**: RDPStudio/backend ## Basic Information - **Project Name**: backend - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-03-10 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 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` 上传文件