Skip to content

Add a CONTRIBUTING guide and frontend architecture docs covering routes, hooks, and the contract/api layer #482

@Baskarayelu

Description

@Baskarayelu

📋 Description

The repo has a large README.md and scattered notes (README_SPLIT_TRANSACTIONS.md, RESPONSIVE_AUDIT_SUMMARY.md, SAVINGS_GOALS_IMPLEMENTATION_SUMMARY.md), but no single CONTRIBUTING guide that explains the frontend architecture: the App Router layout under app/, the shared hooks in lib/hooks / lib/client, the contract read/write layer in lib/contracts, and the test commands in package.json.

Why this matters: this is an active OSS bounty repo with many contributors. A clear architecture + contribution guide reduces duplicate work, wrong-layer changes, and review churn.

🎯 Requirements & Context

Functional requirements

  • Add CONTRIBUTING.md documenting: branch naming, the exact test commands (npm run lint, npm run test:coverage, npm run test:unit, npm run test:integration, npm run test:e2e, npm run build), and PR expectations.
  • Add docs/architecture.md describing the route map, the lib/contracts + lib/cache read layer, the API routes under app/api, wallet/session, and i18n.
  • Document the difference between node --test .cjs suites and the Vitest .ts suites (both run in npm run test:unit).
  • Cross-link from README.md.

Context & constraints

  • Documentation-only; verify every command actually exists in package.json scripts.
  • Keep it concise and skimmable.

🛠️ Suggested Execution

git checkout -b docs/contributing-architecture
  • Write CONTRIBUTING.md + docs/architecture.md, verify commands, cross-link.
npm run lint
  • Edge cases to cover in docs: where to add a new page vs component vs hook, when to add a cached read, how to add an i18n key in both locales.

Example commit message

docs: add CONTRIBUTING guide and frontend architecture overview

Documents route map, hooks, contract/cache/api layers, i18n, and the
exact verified test commands from package.json.

✅ Acceptance Criteria & Guidelines

Requirement Target
CONTRIBUTING.md with verified commands Required
docs/architecture.md route + layer map Required
node:test vs Vitest distinction documented Required
README cross-link Required
Lint clean Required
Timeframe 96 hours from assignment

💬 Community & Support

Join the RemitWise contributor community on Discord: https://discord.gg/CtQuPZFMA

Comment to claim before starting. 🚀

Metadata

Metadata

Assignees

Type

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions