Skip to content

Seed script for local dev #365

Description

@grantfox-oss

Sprint: 1 — Foundations · Area: db · Size: 0.5 d · Depends on: #358
Source: docs/SPRINT-1-ISSUES.md #11

Context

Empty tables make the UI unusable during Sprint 2 dev. Seed a handful of fake users + open sell orders.

Scope

  • supabase/seed.sql inserting ~5 users (fake G… addresses fine, mark them all with a display_name) and ~5 open sell orders in CRC with a mix of bank_transfer_cr and sinpe_movil.
  • Ensure supabase db reset re-applies the seed automatically.
  • Add npm run db:reset script to package.json.

Acceptance

  • npm run db:reset gets the DB to a state where /p2p/orders (after Sprint 2 wiring) will render a non-empty list.

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardThird CampaignCampaign: Third Campaign

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions