# ansh-kukreja/skillskart architecture

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

- Interactive diagram: https://gitdiagram.com/ansh-kukreja/skillskart
- Repository: https://github.com/ansh-kukreja/skillskart

## Overview

SkillsKart is a cooperative-governed marketplace spanning a consumer app, a worker partner portal, and a cooperative administration console. The documented journey is consumers discovering and booking services, while cooperatives verify and govern workers; the console also manages fair-rate guidance, institutional bulk requests, demand monitoring, and emergency SOS. The available native files are platform launch shells, and the README describes product workflows without showing app implementation or a shared backend. Console routing and state management are visible in sampled source; other app capabilities are represented from the README and tree.

Main entry points: [`Cooperative_Web/src/App.tsx`](https://github.com/ansh-kukreja/skillskart/blob/main/Cooperative_Web/src/App.tsx) (Console routes), [`Worker_App`](https://github.com/ansh-kukreja/skillskart/tree/main/Worker_App) (Worker partner portal), [`Consumer_App`](https://github.com/ansh-kukreja/skillskart/tree/main/Consumer_App) (Explore and transact), [`Cooperative_Web/src/screens/DirectoryScreen.tsx`](https://github.com/ansh-kukreja/skillskart/blob/main/Cooperative_Web/src/screens/DirectoryScreen.tsx) (Worker directory)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_consumer["Consumer Marketplace"]
  node_consumer_app["Consumer app"]
  node_marketplace["Explore and transact"]
end

subgraph group_worker["Worker Portal"]
  node_worker_app["Worker partner portal"]
  node_worker_workspaces["Partner workspaces"]
end

subgraph group_governance["Cooperative Console"]
  node_console_app["Console routes<br/>[App.tsx]"]
  node_console_dashboard["Governance dashboard"]
  node_directory["Worker directory"]
  node_hierarchy["Cooperative hierarchy"]
  node_rates["Fair rate cards"]
  node_bulk["Bulk requisitions"]
  node_forecast["Demand forecasts"]
  node_sos["Emergency SOS<br/>[SOSScreen.tsx]"]
  node_audit["Audit log<br/>[AuditLogScreen.tsx]"]
end

subgraph group_console_state["Console State"]
  node_console_state_store["Console state<br/>[AppContext.tsx]"]
  node_demo_data["Demo records<br/>[mockData.ts]"]
end

node_households(("Households"))
node_enterprise(("Enterprise users"))
node_workers(("Workers and partners"))
node_cooperative_officers(("Cooperative officers"))

node_households -->|"use marketplace"| node_consumer_app
node_enterprise -->|"use marketplace"| node_consumer_app
node_consumer_app -->|"opens"| node_marketplace
node_marketplace -.->|"service bookings"| node_worker_app
node_marketplace -.->|"product and job activity"| node_worker_app
node_marketplace -.->|"community participation"| node_worker_app
node_workers -->|"use partner portal"| node_worker_app
node_worker_app -->|"offers role workspaces"| node_worker_workspaces
node_cooperative_officers -->|"use console"| node_console_app
node_console_app -->|"routes to"| node_console_dashboard
node_console_app -->|"routes to"| node_directory
node_console_app -->|"routes to"| node_hierarchy
node_console_app -->|"routes to"| node_rates
node_console_app -->|"routes to"| node_bulk
node_console_app -->|"routes to"| node_forecast
node_console_app -->|"routes to"| node_sos
node_console_app -->|"routes to"| node_audit
node_console_dashboard -->|"reads and updates"| node_console_state_store
node_directory -->|"reads state"| node_console_state_store
node_console_state_store -->|"initializes from"| node_demo_data
node_cooperative_officers -->|"verify members"| node_directory
node_cooperative_officers -->|"set pricing guidance"| node_rates
node_enterprise -.->|"submit requisition"| node_bulk
node_households -.->|"raise emergency"| node_sos

click node_consumer_app "https://github.com/ansh-kukreja/skillskart/tree/main/Consumer_App"
click node_marketplace "https://github.com/ansh-kukreja/skillskart/tree/main/Consumer_App"
click node_worker_app "https://github.com/ansh-kukreja/skillskart/tree/main/Worker_App"
click node_worker_workspaces "https://github.com/ansh-kukreja/skillskart/tree/main/Worker_App"
click node_console_app "https://github.com/ansh-kukreja/skillskart/blob/main/Cooperative_Web/src/App.tsx"
click node_console_dashboard "https://github.com/ansh-kukreja/skillskart/blob/main/Cooperative_Web/src/screens/DashboardScreen.tsx"
click node_directory "https://github.com/ansh-kukreja/skillskart/blob/main/Cooperative_Web/src/screens/DirectoryScreen.tsx"
click node_hierarchy "https://github.com/ansh-kukreja/skillskart/blob/main/Cooperative_Web/src/screens/HierarchyScreen.tsx"
click node_rates "https://github.com/ansh-kukreja/skillskart/blob/main/Cooperative_Web/src/screens/RateCardsScreen.tsx"
click node_bulk "https://github.com/ansh-kukreja/skillskart/blob/main/Cooperative_Web/src/screens/BulkRequestsScreen.tsx"
click node_forecast "https://github.com/ansh-kukreja/skillskart/blob/main/Cooperative_Web/src/screens/DemandForecastScreen.tsx"
click node_sos "https://github.com/ansh-kukreja/skillskart/blob/main/Cooperative_Web/src/screens/SOSScreen.tsx"
click node_audit "https://github.com/ansh-kukreja/skillskart/blob/main/Cooperative_Web/src/screens/AuditLogScreen.tsx"
click node_console_state_store "https://github.com/ansh-kukreja/skillskart/blob/main/Cooperative_Web/src/context/AppContext.tsx"
click node_demo_data "https://github.com/ansh-kukreja/skillskart/blob/main/Cooperative_Web/src/data/mockData.ts"

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_consumer_app,node_marketplace,node_enterprise toneBlue
class node_worker_app,node_worker_workspaces toneAmber
class node_console_app,node_console_dashboard,node_directory,node_hierarchy,node_rates,node_bulk,node_forecast,node_sos,node_audit toneMint
class node_console_state_store,node_demo_data,node_workers toneRose
class node_households,node_cooperative_officers toneIndigo
```

## Components

### Consumer Marketplace

- [Consumer app](https://github.com/ansh-kukreja/skillskart/tree/main/Consumer_App): `Consumer_App`
- [Explore and transact](https://github.com/ansh-kukreja/skillskart/tree/main/Consumer_App): `Consumer_App`

### Worker Portal

- [Worker partner portal](https://github.com/ansh-kukreja/skillskart/tree/main/Worker_App): `Worker_App`
- [Partner workspaces](https://github.com/ansh-kukreja/skillskart/tree/main/Worker_App): `Worker_App`

### Cooperative Console

- [Console routes](https://github.com/ansh-kukreja/skillskart/blob/main/Cooperative_Web/src/App.tsx): `Cooperative_Web/src/App.tsx`
- [Governance dashboard](https://github.com/ansh-kukreja/skillskart/blob/main/Cooperative_Web/src/screens/DashboardScreen.tsx): `Cooperative_Web/src/screens/DashboardScreen.tsx`
- [Worker directory](https://github.com/ansh-kukreja/skillskart/blob/main/Cooperative_Web/src/screens/DirectoryScreen.tsx): `Cooperative_Web/src/screens/DirectoryScreen.tsx`
- [Cooperative hierarchy](https://github.com/ansh-kukreja/skillskart/blob/main/Cooperative_Web/src/screens/HierarchyScreen.tsx): `Cooperative_Web/src/screens/HierarchyScreen.tsx`
- [Fair rate cards](https://github.com/ansh-kukreja/skillskart/blob/main/Cooperative_Web/src/screens/RateCardsScreen.tsx): `Cooperative_Web/src/screens/RateCardsScreen.tsx`
- [Bulk requisitions](https://github.com/ansh-kukreja/skillskart/blob/main/Cooperative_Web/src/screens/BulkRequestsScreen.tsx): `Cooperative_Web/src/screens/BulkRequestsScreen.tsx`
- [Demand forecasts](https://github.com/ansh-kukreja/skillskart/blob/main/Cooperative_Web/src/screens/DemandForecastScreen.tsx): `Cooperative_Web/src/screens/DemandForecastScreen.tsx`
- [Emergency SOS](https://github.com/ansh-kukreja/skillskart/blob/main/Cooperative_Web/src/screens/SOSScreen.tsx): `Cooperative_Web/src/screens/SOSScreen.tsx`
- [Audit log](https://github.com/ansh-kukreja/skillskart/blob/main/Cooperative_Web/src/screens/AuditLogScreen.tsx): `Cooperative_Web/src/screens/AuditLogScreen.tsx`

### Console State

- [Console state](https://github.com/ansh-kukreja/skillskart/blob/main/Cooperative_Web/src/context/AppContext.tsx): `Cooperative_Web/src/context/AppContext.tsx`
- [Demo records](https://github.com/ansh-kukreja/skillskart/blob/main/Cooperative_Web/src/data/mockData.ts): `Cooperative_Web/src/data/mockData.ts`

### Other components

- **Households**
- **Enterprise users**
- **Workers and partners**
- **Cooperative officers**

## Connections

- Households → Consumer app: use marketplace
- Enterprise users → Consumer app: use marketplace
- Consumer app → Explore and transact: opens
- Explore and transact → Worker partner portal: service bookings
- Explore and transact → Worker partner portal: product and job activity
- Explore and transact → Worker partner portal: community participation
- Workers and partners → Worker partner portal: use partner portal
- Worker partner portal → Partner workspaces: offers role workspaces
- Cooperative officers → Console routes: use console
- Console routes → Governance dashboard: routes to
- Console routes → Worker directory: routes to
- Console routes → Cooperative hierarchy: routes to
- Console routes → Fair rate cards: routes to
- Console routes → Bulk requisitions: routes to
- Console routes → Demand forecasts: routes to
- Console routes → Emergency SOS: routes to
- Console routes → Audit log: routes to
- Governance dashboard → Console state: reads and updates
- Worker directory → Console state: reads state
- Console state → Demo records: initializes from
- Cooperative officers → Worker directory: verify members
- Cooperative officers → Fair rate cards: set pricing guidance
- Enterprise users → Bulk requisitions: submit requisition
- Households → Emergency SOS: raise emergency
