flowfi icon indicating copy to clipboard operation
flowfi copied to clipboard

[DevOps] One-Click Local Mock Development Sandbox & Seed Environment

Open blurbeast opened this issue 3 months ago • 9 comments

Overview & Background

Onboarding new open-source contributors can be hindered by complex local setups involving Postgres, Redis, and live Stellar Testnet RPCs. A one-click mock development sandbox allows contributors to spin up the entire stack with realistic seed data in seconds.


Technical Specification & Architecture

  1. Mock Seed Data Generator (scripts/seed-mock-data.ts):
    • Seed 20 diverse streams (Active, Paused, Completed, Cancelled, Vesting Cliffs) across 5 mock users.
    • Seed mock stream event histories with timestamps spanning the last 30 days.
  2. Single Startup Script (npm run dev:mock):
    • Launches Postgres and Redis via Docker Compose.
    • Runs Prisma migrations and seeds mock dataset.
    • Boots backend in sandbox mode with mock Soroban RPC.
    • Starts frontend on localhost:3000.

Target Files

  • scripts/seed-mock-data.ts
  • package.json
  • docs/DEVELOPMENT.md

Acceptance Criteria

  • [ ] Running npm run dev:mock starts the full local stack with rich prefilled demo streams.
  • [ ] Contributor can test all UI features without needing a live wallet or testnet funding.
  • [ ] Step-by-step documentation updated in docs/DEVELOPMENT.md.

blurbeast avatar Aug 29 '26 22:08 blurbeast

Hi Maintainer, I would like to contribute to this project. I have experience working with JavaScript, Python, C++, and Rust, with a primary focus on frontend development using React, Next.js, and TypeScript. I am committed to continuous learning and am excited about contributing to the GrantFox ecosystem. Thank you

gracepeterfejokwu avatar Aug 29 '26 22:08 gracepeterfejokwu

Hey team, I would love to tackle this issue!

Execution Plan for [DevOps] One-Click Local Mock Development Sandbox & Seed Environment:

  • Clean Implementation: Deliver an idiomatic solution for [DevOps] One-Click Local Mock Development Sandbox & Seed Environment adhering strictly to LabsCrypt/flowfi's architecture.
  • Automated Tests: Provide full test coverage asserting both edge cases and core workflows.
  • Clean Git Hygiene: Atomic conventional commits with zero merge conflicts.

Why assign me?

  • Proven Proof-of-Work: #1 contributor on Mova Store (28 merged Web3 PRs) and official ElizaOS contributor.
  • Fast Turnaround: Dedicated to shipping a tested, production-grade PR within 12–24 hours.
  • Zero Maintainer Burden: Self-documenting code with green CI and tests included so you don't spend time debugging.

Looking forward to clearing this off your backlog—please assign to me!

Ranjeet2063 avatar Sep 06 '26 09:09 Ranjeet2063

Hello @maintainers,

I can tackle [DevOps] One-Click Local Mock Development Sandbox & Seed Environment. Proposed implementation roadmap:

  • [ ] Analysis: Inspect current behavior and edge cases in LabsCrypt/flowfi
  • [ ] Implementation: Deliver a clean, modular solution for [DevOps] One-Click Local Mock Development Sandbox & Seed Environment strictly following LabsCrypt/flowfi conventions.
  • [ ] Testing: Cover changes with automated tests ensuring CI passes smoothly.
  • [ ] PR: Atomic commit with clean git hygiene and passing CI

Happy to pick this up today—please assign to me!

guptakumarranjeet150 avatar Sep 09 '26 00:09 guptakumarranjeet150

Hi everyone,

I would like to resolve this issue. Here is my proposed execution plan:

  • Implementation: Deliver a clean, modular solution for [DevOps] One-Click Local Mock Development Sandbox & Seed Environment strictly following LabsCrypt/flowfi conventions.
  • Testing & Verification: Cover changes with automated tests ensuring CI passes smoothly.
  • Delivery: Ready to ship a thoroughly tested PR within 12–24 hours with passing CI.

I am ready to start immediately—please assign this to me!

shobhamerabacha-star avatar Sep 09 '26 17:09 shobhamerabacha-star

@EneGab has applied to work on this issue as part of the Stellar Wave Program's 9th wave.

hi maintainer please can i work on this?

ℹ️ Repo Maintainers: To accept this application, review their application or assign @EneGab to this issue.

EneGab avatar Sep 27 '26 15:09 EneGab

@Joyful12-tech has applied to work on this issue as part of the Stellar Wave Program's 9th wave.

I’d like to work on this issue please assign me

ℹ️ Repo Maintainers: To accept this application, review their application or assign @Joyful12-tech to this issue.

Joyful12-tech avatar Sep 27 '26 15:09 Joyful12-tech

Congratulations, @Joyful12-tech! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on September 30, 2026.

🧑‍💻 @Joyful12-tech: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

[!WARNING] When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

🌊 Happy Wave 🌊

drips-wave[bot] avatar Sep 29 '26 16:09 drips-wave[bot]

🎉 This issue has been marked as completed on GrantFox!

@Joyful12-tech's PR #1590 was approved and merged by @K1NGD4VID.

🏆 @Joyful12-tech: You earned 35 FoxPoints for this contribution! Your current tier: Explorer (904 total points). Track your full progress on GrantFox.

👏 Great work, @Joyful12-tech! Keep contributing to LabsCrypt.

grantfox-oss[bot] avatar Oct 06 '26 19:10 grantfox-oss[bot]

This issue has been marked as completed by a Drips Wave moderator for @Joyful12-tech as part of the Stellar Wave Program's 9th Wave 🥳

Moderator's reason: [Auto-assessed] PR #1590 was merged by @K1NGD4VID on 2026-10-06T19:19:44Z, fulfilling the acceptance criteria for issue #1336.

😎 @Joyful12-tech: You earned 150 Points for completing this issue! After the current Wave ends, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here.

🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

ℹ️ Note: This issue was marked complete via moderation. Points were issued even though the GitHub issue remains open.

drips-wave[bot] avatar Oct 07 '26 05:10 drips-wave[bot]