Skip to content

Write architecture and developer onboarding documentation #285

@ogazboiz

Description

@ogazboiz

Join our community: https://t.me/+DOylgFv1jyJlNzM0

Description

There is no architecture document explaining how the three components (contract, backend, frontend) interact, or how to run the project end-to-end. New contributors cannot onboard without asking questions.

What Needs to Happen

  • docs/ARCHITECTURE.md:
    • Mermaid system diagram: contract → event worker → DB → SSE → frontend
    • Data flow for each event type (created, topped_up, paused, etc.)
    • Pause/resume timing model (how paused seconds are excluded from accrual)
    • Database schema overview
  • docs/DEVELOPMENT.md:
    • Prerequisites (Rust, Node 20, Stellar CLI, Postgres)
    • Step-by-step local setup
    • Running against testnet vs local sandbox
    • Common troubleshooting (indexer not syncing, SSE not connecting)
  • Link both docs from README

Files

  • docs/ARCHITECTURE.md (create)
  • docs/DEVELOPMENT.md (create)

Acceptance Criteria

  • New contributor can run the project using only the docs
  • Mermaid diagram renders on GitHub
  • Pause/resume timing model clearly explained

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programdocsDocumentationgood first issueGood for newcomers

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions