S16.1: Spike: set up Supabase, migrations, and sign-in
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- docker, python, supabase
调研方向
Start with supabase/config.toml and backend/app/config.py, then review the Supabase CLI setup and the linked roadmap entry for S16.1. Add the first migration, resolve the missing seed.sql reference, record the sign-in and token verification decision, update .env.example settings, and document local setup, migration workflow, and free plan limits in supabase/README.md. Done when the listed acceptance criteria are met and committed.
由索引模型根据 Issue 内容生成。
描述
Roadmap story S16.1 · Project · Roadmap
Parent epic: E16 #108
Priority: P1 · Size: S · Sprint: 2 · Milestone: M2 · Area: infra · Depends on: — · Reqs: FR-U1, NFR-8 · Status: In progress
Story: As a team, we want the Supabase project and its workflow in place before we build on it, so that every schema change is reviewed and reproducible and nobody edits the database by hand.
Acceptance criteria
- A hosted Supabase project (free plan) exists for development, and running Supabase locally (CLI plus Docker) is documented.
- Schema changes are SQL migrations in
supabase/migrations/, reviewed in pull requests like code. Theseed.sqlthat supabase/config.toml points to exists, or the reference is removed. - The sign-in methods are chosen (for example, email and password, magic links, or GitHub), along with how the backend verifies Supabase's tokens. The decision is recorded (D9).
- New settings are in the
.env.examplefiles: the project URL and public key for the frontend, and what the backend needs to verify tokens. The secret (service-role) key is used only on the server, if at all. - The free plan's limits are written down (500 MB, two active projects, paused after a week without activity), with a plan for demo days.
Tasks
- Initialize the Supabase CLI configuration
- Verify the hosted development project and team access in a committed setup record
- Add the first migration and fix the missing
seed.sqlreference - Choose sign-in methods and token verification (D9)
- Add account settings to
.env.exampleandbackend/app/config.py - Write
supabase/README.mdwith migration workflow, local setup, and demo-day limits
Progress evidence (2026-11-08): Supabase CLI configuration is committed, but migrations and supabase/README.md are absent, seed.sql is referenced but missing, and auth methods/token verification remain undecided. A legacy market-data upload experiment does not implement accounts. Evidence: supabase/config.toml.
Audited against committed main at 0c32c57. Local, staged, and untracked work is excluded.
- 主要语言
- Python
- 星标
- 0
- 派生
- 0
- 平均合并
- 3 小时 33 分钟
- 30 天内合并 PR
- 50
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nfiasco/Quant-Time-Machine 的其他 Issue
-
area: web priority: P1 story
难度 2/5 1-3 小时 新手友好度 76/100
nfiasco/Quant-Time-Machine#151 ·
维护者通常 1 天内回复
-
area: api blocked priority: P0 story
难度 2/5 1-3 小时 新手友好度 74/100
nfiasco/Quant-Time-Machine#25 ·
维护者通常 1 天内回复
-
area: infra priority: P0 story
难度 2/5 1-3 小时 新手友好度 74/100
nfiasco/Quant-Time-Machine#1 ·
维护者通常 1 天内回复
-
area: web blocked priority: P1 story
难度 4/5 3-5 天 新手友好度 50/100
nfiasco/Quant-Time-Machine#190 ·
维护者通常 1 天内回复
-
area: web blocked priority: P1 story
难度 4/5 3-5 天 新手友好度 49/100
nfiasco/Quant-Time-Machine#189 ·
维护者通常 1 天内回复
查看 nfiasco/Quant-Time-Machine 的全部 Issue
相似的 Issue
-
docs pydanty:is-working
难度 1/5 1-3 小时 新手友好度 85/100
pydantic/pydantic-ai#12892 ·
维护者通常 1 天内回复
-
needs-triage
难度 1/5 1-3 小时 新手友好度 72/100
Azure/azure-sdk-for-python#49886 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
[Core] Deprecated(error=True) raises only on the first call; later calls run the removed API可能已有人在做 @wguo7 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
ray-project/ray#67965 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
btclib-org/btclib#3006 ·
维护者通常 1 天内回复
-
[Resource]: Jori未关闭resource-submission validation-passed
难度 1/5 1 小时以内 新手友好度 86/100
hesreallyhim/awesome-claude-code#3550 · 1 条评论 ·
维护者通常 1 天内回复