• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

editdata/submit-data: WIP! Submit data to a JSON file via a form using the GitHu ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

editdata/submit-data

开源软件地址:

https://github.com/editdata/submit-data

开源编程语言:

JavaScript 96.9%

开源软件介绍:

submit-data

This is a work-in-progress demo: submitdata.surge.sh

Submit data to a JSON file via a form using the GitHub API

It's useful to keep small datasets in GitHub repositories, particularly for projects that are more content-focused like maps and data visualizations that are hosted on gh-pages.

It would be very useful to provide a page where users can log in with the GitHub API, fill out a form, and have the fields appended to a JSON file that is an array of objects.

That's what this project will provide.

What does it do?

  • A user logs in via GitHub on the site.
  • They fill out the form with the fields you have specified.
  • This project does the following actions:
    • creates a fork on the user's account if it doesn't exist already
    • creates a branch for their changes
    • creates a commit adding an object to the JSON file you specified
    • creates a pull request back to the source repository

Todo

The next stage for this project is to make it reusable, so that you can provide a similar form in your gh-pages hosted repositories.

Similar functionality will also be added to the editdata.org project.

License

MIT




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap