没有合适的资源?快使用搜索试试~ 我知道了~
openaq-api:OpenAQ平台API
共112个文件
js:69个
json:20个
md:6个
需积分: 12 0 下载量 10 浏览量
2021-05-17
08:30:19
上传
评论
收藏 245KB ZIP 举报
温馨提示
OpenAQ平台API 概述 这是项目的主要API。 从index.js开始,有一个可通过网络访问的API,该API提供了用于查询空气质量测量值的端点。 可以在上找到文档。 负责获取新数据并将其插入数据库。 数据格式以解释。 入门 安装先决条件: 在本地克隆此存储库(请参阅以下),并使用以下激活所需的Node.js版本: nvm install 如果本地Node.js版本与定义的版本匹配,则可以跳过最后一步。 安装模块依赖项: npm install 发展 初始化开发数据库: npm run init-dev-db 此任务将启动PostgreSQL容器作为守护程序,运行迁移和种子数据。 这些任务中的每一个都可以独立运行,请参考package.json了解这些选项。 初始化完成后,启动开发服务器: npm run dev 访问http:// localhost:300
资源推荐
资源详情
资源评论
收起资源包目录
openaq-api:OpenAQ平台API (112个子文件)
.babelrc 29B
CNAME 16B
Dockerfile 2KB
.eslintignore 9B
.eslintrc 301B
.gitignore 119B
test-locations.js 18KB
locations.js 13KB
utils.js 12KB
test-utils.js 12KB
test-measurements.js 10KB
athena-sync.js 10KB
test-athena-sync.js 9KB
measurements.js 9KB
averages.js 8KB
averages.js 7KB
latest.js 7KB
server.js 6KB
location-metadata-schema.js 6KB
measurements.js 5KB
base.js 5KB
webhooks.js 5KB
test-latest.js 4KB
countries.js 4KB
cities.js 4KB
latest.js 4KB
index.js 4KB
fetches.js 4KB
test-locations-metadata.js 4KB
test-countries.js 3KB
sources.js 3KB
test-sources.js 3KB
test-fetches.js 3KB
athena.js 3KB
locations-metadata.js 2KB
fetches.js 2KB
test-cities.js 2KB
locations-metadata.js 2KB
sources.js 2KB
parameters.js 2KB
test-parameters.js 2KB
athena-queries.js 2KB
upload.js 2KB
insert-env.js 1KB
20190719112253_location_metadata.js 1KB
redis.js 1KB
status.js 1KB
root.js 1KB
test-webhooks.js 1KB
test-api-meta.js 1KB
test-upload.js 1KB
test--index.js 1KB
measurements.js 1KB
locations.js 988B
20190329111919_add-locations.js 952B
20160109181033_initial.js 802B
fetches.js 632B
newrelic.js 613B
sources.js 536B
webhooks.js 525B
knexfile.js 521B
upload.js 494B
20160207101741_fetches_table.js 432B
logger.js 418B
encrypt.js 400B
upload_tokens.js 394B
20190430111626_add-cities.js 384B
20161111102345_upload_tokens_table.js 346B
20160118101118_remove_date_local.js 338B
20160416163627_sources_table.js 325B
app.js 297B
localCache.js 296B
db.js 238B
index.js 103B
constants.js 53B
locations-up-to-2018.json 297KB
package-lock.json 260KB
parameters-up-to-2018.json 230KB
locations-up-to-2016.json 198KB
parameters-up-to-2016.json 87KB
measurements.json 43KB
get-cities-2018.json 32KB
locations.json 26KB
get-cities-2016.json 15KB
country-list.json 13KB
fetches.json 7KB
package.json 3KB
sources.json 2KB
parameters.json 851B
custom-environment-variables.json 824B
default.json 541B
ecs-task-definition.json 500B
development.json 320B
test.json 249B
travis.json 232B
README.md 6KB
README.md 3KB
CONTRIBUTING.md 3KB
LICENSE.md 1KB
header.md 1KB
共 112 条
- 1
- 2
资源评论
晨曦姜
- 粉丝: 58
- 资源: 4661
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功