Skip to content

feat(data): add local dev sample data, auto-seeding scripts and docs - #56

Closed
evandroribeiro94 wants to merge 1 commit into
devodii:mainfrom
evandroribeiro94:feat/issue-31-local-dev-sample-data
Closed

evandroribeiro94 wants to merge 1 commit into
devodii:mainfrom
evandroribeiro94:feat/issue-31-local-dev-sample-data

Conversation

@evandroribeiro94

Copy link
Copy Markdown

Description

Closes #31.

Provides full developer ergonomics for local onboarding and reproducible development databases:

  1. Curated Seed Dataset (data/sample/sample.sql): 10 distinct hackathon projects, 20 smart contracts across Soroban/Rust/WASM, mock deployment events, and simulated audit/parser failure transactions.
  2. Auto-seeding Loader (scripts/load_sample.py): Automatically provisions SQLite/Postgres schemas and seeds sample records on empty database tables with --force reset capability.
  3. Database Dumper (scripts/dump_sample.py): Utility to export updated dev databases back to data/sample/sample.sql.
  4. Docker Compose Integration (docker-compose.yml): Adds one-shot seed service chained before the api service for single-command docker compose up readiness.
  5. Developer Documentation (docs/local-dev.md): Complete 5-command onboarding guide.
  6. Automated Test Suite (apps/api/tests/test_sample_data.py): Verifies schema integrity, seed ingestion, idempotent loading, and non-empty project tables.

Verification

  • pytest apps/api/tests/test_sample_data.py: 3 passed in 0.05s
  • ruff check scripts/load_sample.py scripts/dump_sample.py apps/api/tests/test_sample_data.py: 0 errors
  • Zero breaking changes to existing models or database migrations.

@vercel

vercel Bot commented Oct 31, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the Payroutes OSS Team on Vercel.

A member of the Team first needs to authorize it.

@devodii devodii closed this Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

One command local dev with sample data

2 participants