S16.1: Spike: set up Supabase, migrations, and sign-in
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- docker, python, supabase
- Domain
- authentication, databases, infrastructure
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- Avg merge
- 3h 33m
- Merged PRs (30d)
- 50
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nfiasco/Quant-Time-Machine
-
area: web priority: P1 story
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
nfiasco/Quant-Time-Machine#151 ·
Maintainers usually reply within 1 day
-
area: api blocked priority: P0 story
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
nfiasco/Quant-Time-Machine#25 ·
Maintainers usually reply within 1 day
-
area: infra priority: P0 story
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
nfiasco/Quant-Time-Machine#1 ·
Maintainers usually reply within 1 day
-
area: web blocked priority: P1 story
Difficulty 4/5 3-5 days Newbie friendliness 50/100
nfiasco/Quant-Time-Machine#190 ·
Maintainers usually reply within 1 day
-
area: web blocked priority: P1 story
Difficulty 4/5 3-5 days Newbie friendliness 49/100
nfiasco/Quant-Time-Machine#189 ·
Maintainers usually reply within 1 day
All issues in nfiasco/Quant-Time-Machine
Similar issues
-
docs pydanty:is-working
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
pydantic/pydantic-ai#12892 ·
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 1/5 1-3 hours Newbie friendliness 72/100
Azure/azure-sdk-for-python#49886 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
[Core] Deprecated(error=True) raises only on the first call; later calls run the removed APIPossibly taken @wguo7 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ray-project/ray#67965 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
btclib-org/btclib#3006 ·
Maintainers usually reply within 1 day
-
[Resource]: JoriOpenresource-submission validation-passed
Difficulty 1/5 Under an hour Newbie friendliness 86/100
hesreallyhim/awesome-claude-code#3550 · 1 comment ·
Maintainers usually reply within 1 day