S16.1: Spike: set up Supabase, migrations, and sign-in

Đang mở
#186 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
docker, python, supabase

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area: infra priority: P1 spike

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. The seed.sql that 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.example files: 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.sql reference
  • Choose sign-in methods and token verification (D9)
  • Add account settings to .env.example and backend/app/config.py
  • Write supabase/README.md with 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.

Ngôn ngữ chính
Python
Star
0
Fork
0
Merge trung bình
3 giờ 33 phút
Pull request đã merge (30 ngày)
50

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nfiasco/Quant-Time-Machine

Tất cả issue của nfiasco/Quant-Time-Machine

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.