Postgraphile Sandbox/Playground
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- docker, graphql, javascript, postgres
调研方向
首先查看 Heroku Button 文档以及 issue 中描述的基于 Docker 的建议设置,包括 PostGraphile CLI 和 JavaScript 示例。当一个新 repository 可以部署一个包含 Postgres、pgAdmin、PostGraphile、示例数据、推荐的开发设置以及切换到 JavaScript 示例的方法的可运行 playground 时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Feature description
Make a new repo with a Deploy to Heroku button for easily playing around with postgraphile without having to install anything or do toilsome setup.
It should come with postgres, pgadmin and postgraphile installed and running within a docker container, probably with one or more example databases installed.
It should be running with a variety of recommended plugins and settings for development, like --enhance-graphiql and --allow-explain.
By default, it should run the CLI, but it should also have a JS-driven example included with a easy switch to use that, so you can fork, write a custom plugin, and deploy with a click.
(Note that it should not use heroku's built-in postgres because it doesn't allow CREATE ROLE and could get expensive if a malicious actor spotted a free, world-configurable database).
Inspired by this discussion
Motivating example
- Have one official playground running that prospective users can play with, to see what postgraphile is like in the wild. (This should probably be completely cleared and rebooted at regular intervals, perhaps with a bit of automation from the heroku api and a stable subdomain).
- Allow postgraphile users to quickly spin up their own playgrounds to explore prototyping concepts.
- Allow postgraphile users to to demonstrate a minimal repro case for a bug or issue by running DDL, inserting data, and running a gql query.
Breaking changes
None
Supporting development
I intend to build this myself over the next week or two, but who knows life happens sometimes, so I wanted to file as an issue in case I don't get to it and someone else wants to come along and build it.
I [tick all that apply]:
- am interested in building this feature myself
- am interested in collaborating on building this feature
- am willing to help testing this feature before it's released
- am willing to write a test-driven test suite for this feature (before it exists)
- am a Graphile sponsor ❤️
- have an active support or consultancy contract with Graphile
- 主要语言
- SCSS
- 星标
- 27
- 派生
- 124
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
graphile/graphile.github.io 的其他 Issue
-
help wanted quick
难度 2/5 1-3 小时 新手友好度 38/100
graphile/graphile.github.io#401 · 1 条评论 · 1 个 reaction ·
-
website: Update details on homepage and sponsor page可能重新可做 @jemgillam 于 1119 天前认领,目前没有进行中的 PR。 未关闭quick
graphile/graphile.github.io#399 · 4 条评论 · 已指派 1 人 ·
-
sponsor page: New wording around Grafast needed!可能重新可做 @jemgillam 于 1149 天前认领,目前没有进行中的 PR。 未关闭
graphile/graphile.github.io#393 · 1 个 reaction · 已指派 1 人 ·
-
难度 2/5 1-3 小时 新手友好度 38/100
graphile/graphile.github.io#341 · 1 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 25/100
graphile/graphile.github.io#280 · 2 条评论 · 5 个 reaction ·
查看 graphile/graphile.github.io 的全部 Issue
相似的 Issue
-
bug needs-triage
难度 2/5 1-3 小时 新手友好度 86/100
dsx-ai-factory/health-validation#368 ·
维护者通常 2 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 83/100
Tripstack-Corp/spyc#1352 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
vllm-project/vllm#70030 ·
维护者通常 1 天内回复
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
help wanted small extra
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复