# ravulaprasad01/itch architecture

> Architecture diagram of the GitHub repository ravulaprasad01/itch, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ravulaprasad01/itch
- Repository: https://github.com/ravulaprasad01/itch

## Overview

Itch is a community product for turning everyday frustrations into public problem reports, discovering related posts, and discussing them with builders and other members. The intended journey is to describe a problem, find shared experience, then give builders useful context; the home page links into posting, exploration, and community. Explore and community read live problem data, while detail pages load a problem and its replies and can submit replies. The composer and several other major modules were identified from the source index or tree but not inspected, so their runtime connections are not asserted.

Main entry points: [`problem2build/src/app/problems/[slug]/page.jsx`](https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/app/problems/%5Bslug%5D/page.jsx) (Problem discussion), [`problem2build/src/app/page.jsx`](https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/app/page.jsx) (Home experience), [`problem2build/src/app/explore/page.jsx`](https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/app/explore/page.jsx) (Explore board), [`problem2build/src/app/community/page.jsx`](https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/app/community/page.jsx) (Topic community)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Entry and guidance"]
  node_home["Home experience<br/>[page.jsx]"]
  node_info["Info pages<br/>[InfoPage.jsx]"]
end

subgraph group_problems["Problem lifecycle"]
  node_composer["Problem composer"]
  node_detail["Problem discussion<br/>[page.jsx]"]
  node_signal_buttons["Support signals<br/>[SignalButtons.jsx]"]
  node_priority_badge["Priority display"]
end

subgraph group_community["Community discovery"]
  node_explore["Explore board<br/>[page.jsx]"]
  node_problem_list["Problem list<br/>[ProblemList.jsx]"]
  node_discover["Builder discovery<br/>[page.jsx]"]
  node_community_page["Topic community<br/>[page.jsx]"]
  node_feed["Problem feed<br/>[ProblemFeed.jsx]"]
  node_problem_card["Problem card<br/>[ProblemCard.jsx]"]
  node_mock_data["Category data<br/>[mock-data.js]"]
end

subgraph group_identity["Identity and data"]
  node_auth["Google sign-in"]
  node_firebase["Firebase helpers<br/>[firebase.js]"]
end

node_visitor(("Visitor"))
node_firestore[("Firestore")]
node_member(("Signed-in member"))

node_visitor -->|"opens"| node_home
node_home -->|"links to"| node_composer
node_home -->|"links to"| node_explore
node_home -->|"links to"| node_community_page
node_explore -->|"renders"| node_problem_list
node_explore -->|"reads problems"| node_firestore
node_community_page -->|"streams problems"| node_firestore
node_discover -->|"streams problems"| node_firestore
node_explore -->|"uses categories"| node_mock_data
node_community_page -->|"uses categories"| node_mock_data
node_community_page -->|"links conversation"| node_detail
node_discover -->|"links problem"| node_detail
node_detail -->|"loads problem and replies"| node_firestore
node_detail -->|"writes reply"| node_firestore
node_detail -->|"gets public profile"| node_firebase
node_member -.->|"signs in"| node_auth
node_member -.->|"submits problem"| node_composer

click node_home "https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/app/page.jsx"
click node_info "https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/components/itch/InfoPage.jsx"
click node_auth "https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/components/auth/GoogleSignInPanel.jsx"
click node_composer "https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/app/problems/new/ProblemComposer.jsx"
click node_explore "https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/app/explore/page.jsx"
click node_problem_list "https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/components/itch/ProblemList.jsx"
click node_discover "https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/app/discover/page.jsx"
click node_community_page "https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/app/community/page.jsx"
click node_detail "https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/app/problems/%5Bslug%5D/page.jsx"
click node_feed "https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/components/problem/ProblemFeed.jsx"
click node_signal_buttons "https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/components/problem/SignalButtons.jsx"
click node_priority_badge "https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/components/problem/PriorityScoreBadge.jsx"
click node_problem_card "https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/components/problem/ProblemCard.jsx"
click node_firebase "https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/lib/firebase.js"
click node_mock_data "https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/lib/mock-data.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_home,node_info toneBlue
class node_composer,node_detail,node_signal_buttons,node_priority_badge,node_firestore toneAmber
class node_explore,node_problem_list,node_discover,node_community_page,node_feed,node_problem_card,node_mock_data toneMint
class node_auth,node_firebase toneRose
class node_visitor,node_member toneIndigo
```

## Components

### Entry and guidance

- [Home experience](https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/app/page.jsx): `problem2build/src/app/page.jsx`
- [Info pages](https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/components/itch/InfoPage.jsx): `problem2build/src/components/itch/InfoPage.jsx`

### Problem lifecycle

- [Problem composer](https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/app/problems/new/ProblemComposer.jsx): `problem2build/src/app/problems/new/ProblemComposer.jsx`
- [Problem discussion](https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/app/problems/%5Bslug%5D/page.jsx): `problem2build/src/app/problems/[slug]/page.jsx`
- [Support signals](https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/components/problem/SignalButtons.jsx): `problem2build/src/components/problem/SignalButtons.jsx`
- [Priority display](https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/components/problem/PriorityScoreBadge.jsx): `problem2build/src/components/problem/PriorityScoreBadge.jsx`

### Community discovery

- [Explore board](https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/app/explore/page.jsx): `problem2build/src/app/explore/page.jsx`
- [Problem list](https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/components/itch/ProblemList.jsx): `problem2build/src/components/itch/ProblemList.jsx`
- [Builder discovery](https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/app/discover/page.jsx): `problem2build/src/app/discover/page.jsx`
- [Topic community](https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/app/community/page.jsx): `problem2build/src/app/community/page.jsx`
- [Problem feed](https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/components/problem/ProblemFeed.jsx): `problem2build/src/components/problem/ProblemFeed.jsx`
- [Problem card](https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/components/problem/ProblemCard.jsx): `problem2build/src/components/problem/ProblemCard.jsx`
- [Category data](https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/lib/mock-data.js): `problem2build/src/lib/mock-data.js`

### Identity and data

- [Google sign-in](https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/components/auth/GoogleSignInPanel.jsx): `problem2build/src/components/auth/GoogleSignInPanel.jsx`
- [Firebase helpers](https://github.com/ravulaprasad01/itch/blob/main/problem2build/src/lib/firebase.js): `problem2build/src/lib/firebase.js`

### Other components

- **Visitor**
- **Firestore**
- **Signed-in member**

## Connections

- Visitor → Home experience: opens
- Home experience → Problem composer: links to (evidence: `problem2build/src/app/page.jsx`)
- Home experience → Explore board: links to (evidence: `problem2build/src/app/page.jsx`)
- Home experience → Topic community: links to (evidence: `problem2build/src/app/page.jsx`)
- Explore board → Problem list: renders (evidence: `problem2build/src/app/explore/page.jsx`)
- Explore board → Firestore: reads problems (evidence: `problem2build/src/app/explore/page.jsx`)
- Topic community → Firestore: streams problems (evidence: `problem2build/src/app/community/page.jsx`)
- Builder discovery → Firestore: streams problems (evidence: `problem2build/src/app/discover/page.jsx`)
- Explore board → Category data: uses categories (evidence: `problem2build/src/app/explore/page.jsx`)
- Topic community → Category data: uses categories (evidence: `problem2build/src/app/community/page.jsx`)
- Topic community → Problem discussion: links conversation (evidence: `problem2build/src/app/community/page.jsx`)
- Builder discovery → Problem discussion: links problem (evidence: `problem2build/src/app/discover/page.jsx`)
- Problem discussion → Firestore: loads problem and replies (evidence: `problem2build/src/app/problems/[slug]/page.jsx`)
- Problem discussion → Firestore: writes reply (evidence: `problem2build/src/app/problems/[slug]/page.jsx`)
- Problem discussion → Firebase helpers: gets public profile (evidence: `problem2build/src/app/problems/[slug]/page.jsx`)
- Signed-in member → Google sign-in: signs in
- Signed-in member → Problem composer: submits problem
