Giter Club home page Giter Club logo

spread-information's Introduction

[TOC]

简介

看这里

HOST

http://49.232.173.220:3001/

API 列表

接口名 请求方式 接口描述
data/getTimelineService GET 按时间线获取事件
data/getStatisticsService GET 获取整体统计信息
data/getAreaStat/:provice GET 获取指定省份信息,例如:/data/getAreaStat/山东
data/getNewest/:lastid GET 获取最新事件
data/getIndexRumorList GET 最新辟谣
data/getIndexRecommendList GET 最新防护知识
data/getWikiList GET 最新知识百科
data/getEntries GET 诊疗信息
data/getListByCountryTypeService1 GET 全国省份级患者分布数据
data/getListByCountryTypeService2 GET 全球海外其他地区患者分布数据
data/getStatisticsService GET 获取整体统计信息

API文档

详细文档

如何部署API项目

首先全局安装pm2,并安装好依赖

npm i pm2 -g
npm i

然后在代码目录下执行

pm2 start pm2Config.json

线上服务

我在服务器上跑了一份,方便有需要的同学使用:

地址:http://49.232.173.220:3001 测试:http://49.232.173.220:3001/data/getTimelineService

带参数例子:

http://49.232.173.220:3001/data/getAreaStat/山东

http://49.232.173.220:3001/data/getNewest/281

更多服务器

衍生项目

App客户端

  • 效果图

下载地址

扫码下载:

App项目地址

spread-information's People

Contributors

programmerauthor avatar jvedi avatar liulinboyi 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.