# vaidehipatel311/carbon-mint architecture

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

- Interactive diagram: https://gitdiagram.com/vaidehipatel311/carbon-mint
- Repository: https://github.com/vaidehipatel311/carbon-mint

## Overview

Carbon Mint is a React/Redux dashboard for land-owner, parcel, operator, and event management. Users enter through the login screen, navigate routed dashboard workflows, and view or submit domain records; service actions exchange data with configured REST endpoints and dispatch Redux updates. The graph preserves the documented document-upload and authentication capabilities, though their complete implementations are not shown in the excerpts. Relationships for unsampled screens are based on the SOURCE INDEX; uncertain backend and integration details are not expanded.

Main entry points: [`src/App.js`](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/App.js) (Route app), [`src/Services/Events/actions.js`](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Services/Events/actions.js) (Event service actions), [`src/Services/LandOwners/actions.js`](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Services/LandOwners/actions.js) (Owner service actions), [`src/Config/urls.js`](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Config/urls.js) (API endpoint config)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_navigation["App navigation"]
  node_app["Route app<br/>[App.js]"]
  node_dashboard["Dashboard<br/>[index.js]"]
  node_login["Login<br/>[index.js]"]
end

subgraph group_land["Land records"]
  node_owners["Land-owner records<br/>[index.js]"]
  node_owner_form["Owner form and uploads<br/>[AddLandOwner.js]"]
  node_owner_profile["Owner profile<br/>[Profile.js]"]
  node_parcels["Parcel records<br/>[index.js]"]
  node_parcel_form["Parcel form<br/>[AddLandParcel.js]"]
  node_parcel_profile["Parcel profile<br/>[Profile.js]"]
end

subgraph group_operations["Operations"]
  node_operators["Operator records<br/>[index.js]"]
  node_operator_form["Operator onboarding<br/>[AddOperator.js]"]
  node_operator_profile["Operator profile<br/>[Profile.js]"]
  node_operator_parcel["Operator parcels<br/>[landparcel.js]"]
  node_crops["Operator crops<br/>[crops.js]"]
  node_events["Event records<br/>[index.js]"]
  node_event_form["Event entry<br/>[AddEvent.js]"]
  node_event_detail["Event detail"]
end

subgraph group_state["State and services"]
  node_owner_actions["Owner service actions<br/>[actions.js]"]
  node_parcel_actions["Parcel service actions<br/>[actions.js]"]
  node_operator_actions["Operator service actions<br/>[actions.js]"]
  node_event_actions["Event service actions<br/>[actions.js]"]
  node_login_actions["Login actions<br/>[actions.js]"]
  node_reducers["Combined reducers<br/>[index.js]"]
  node_store["Redux store<br/>[store.js]"]
  node_urls["API endpoint config<br/>[urls.js]"]
  node_firebase["Firebase configuration<br/>[firebase.js]"]
end

subgraph group_shared["Shared interface"]
  node_header["Header<br/>[index.js]"]
  node_sidebar["Sidebar navigation<br/>[index.js]"]
end

node_user(("Dashboard user"))
node_api["Configured REST API"]

node_user -->|"opens"| node_app
node_app -->|"routes to"| node_login
node_app -->|"routes to"| node_dashboard
node_app -->|"routes to"| node_owners
node_app -->|"routes to"| node_owner_form
node_app -->|"routes to"| node_owner_profile
node_app -->|"routes to"| node_parcels
node_app -->|"routes to"| node_parcel_form
node_app -->|"routes to"| node_parcel_profile
node_app -->|"routes to"| node_operators
node_app -->|"routes to"| node_operator_form
node_app -->|"routes to"| node_operator_profile
node_app -->|"routes to"| node_operator_parcel
node_app -->|"routes to"| node_crops
node_app -->|"routes to"| node_events
node_app -->|"routes to"| node_event_form
node_app -->|"routes to"| node_event_detail
node_dashboard -->|"fetches owners"| node_owner_actions
node_events -->|"fetches events"| node_event_actions
node_owner_form -->|"submits owner"| node_owner_actions
node_owners -->|"loads records"| node_owner_actions
node_parcels -->|"loads records"| node_parcel_actions
node_parcel_form -->|"submits parcel"| node_parcel_actions
node_operators -->|"loads records"| node_operator_actions
node_operator_form -->|"submits operator"| node_operator_actions
node_crops -->|"uses events"| node_event_actions
node_event_form -->|"submits event"| node_event_actions
node_event_detail -->|"loads event"| node_event_actions
node_login -->|"authenticates"| node_login_actions
node_login -->|"imports config"| node_firebase
node_dashboard -->|"renders"| node_header
node_dashboard -->|"renders"| node_sidebar
node_owners -->|"renders"| node_header
node_owners -->|"renders"| node_sidebar
node_owner_actions -->|"requests data"| node_api
node_parcel_actions -->|"requests data"| node_api
node_operator_actions -->|"requests data"| node_api
node_event_actions -->|"requests data"| node_api
node_login_actions -->|"requests data"| node_api
node_owner_actions -->|"uses endpoints"| node_urls
node_parcel_actions -->|"uses endpoints"| node_urls
node_operator_actions -->|"uses endpoints"| node_urls
node_event_actions -->|"uses endpoints"| node_urls
node_login_actions -->|"uses endpoints"| node_urls
node_store -->|"configures"| node_reducers

click node_app "https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/App.js"
click node_dashboard "https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/Dashboard/index.js"
click node_login "https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/Login/index.js"
click node_owners "https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/LandOwners/index.js"
click node_owner_form "https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/LandOwners/AddLandOwner.js"
click node_owner_profile "https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/LandOwners/Profile.js"
click node_parcels "https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/LandParcels/index.js"
click node_parcel_form "https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/LandParcels/AddLandParcel.js"
click node_parcel_profile "https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/LandParcels/Profile.js"
click node_operators "https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/Operator/index.js"
click node_operator_form "https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/Operator/AddOperator.js"
click node_operator_profile "https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/Operator/Profile.js"
click node_operator_parcel "https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/Operator/landparcel.js"
click node_crops "https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/Operator/crops.js"
click node_events "https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/Events/index.js"
click node_event_form "https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/Events/AddEvent.js"
click node_event_detail "https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/Events/EventDescription.js"
click node_header "https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Components/Header/index.js"
click node_sidebar "https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Components/Sidebar/index.js"
click node_owner_actions "https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Services/LandOwners/actions.js"
click node_parcel_actions "https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Services/LandParcels/actions.js"
click node_operator_actions "https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Services/Operator/actions.js"
click node_event_actions "https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Services/Events/actions.js"
click node_login_actions "https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Services/Login/actions.js"
click node_reducers "https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Services/index.js"
click node_store "https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Services/store.js"
click node_urls "https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Config/urls.js"
click node_firebase "https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/firebase.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_app,node_dashboard,node_login,node_user toneBlue
class node_owners,node_owner_form,node_owner_profile,node_parcels,node_parcel_form,node_parcel_profile toneAmber
class node_operators,node_operator_form,node_operator_profile,node_operator_parcel,node_crops,node_events,node_event_form,node_event_detail,node_api toneMint
class node_owner_actions,node_parcel_actions,node_operator_actions,node_event_actions,node_login_actions,node_reducers,node_store,node_urls,node_firebase toneRose
class node_header,node_sidebar toneIndigo
```

## Components

### App navigation

- [Route app](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/App.js): `src/App.js`
- [Dashboard](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/Dashboard/index.js): `src/Pages/Dashboard/index.js`
- [Login](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/Login/index.js): `src/Pages/Login/index.js`

### Land records

- [Land-owner records](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/LandOwners/index.js): `src/Pages/LandOwners/index.js`
- [Owner form and uploads](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/LandOwners/AddLandOwner.js): `src/Pages/LandOwners/AddLandOwner.js`
- [Owner profile](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/LandOwners/Profile.js): `src/Pages/LandOwners/Profile.js`
- [Parcel records](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/LandParcels/index.js): `src/Pages/LandParcels/index.js`
- [Parcel form](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/LandParcels/AddLandParcel.js): `src/Pages/LandParcels/AddLandParcel.js`
- [Parcel profile](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/LandParcels/Profile.js): `src/Pages/LandParcels/Profile.js`

### Operations

- [Operator records](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/Operator/index.js): `src/Pages/Operator/index.js`
- [Operator onboarding](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/Operator/AddOperator.js): `src/Pages/Operator/AddOperator.js`
- [Operator profile](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/Operator/Profile.js): `src/Pages/Operator/Profile.js`
- [Operator parcels](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/Operator/landparcel.js): `src/Pages/Operator/landparcel.js`
- [Operator crops](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/Operator/crops.js): `src/Pages/Operator/crops.js`
- [Event records](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/Events/index.js): `src/Pages/Events/index.js`
- [Event entry](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/Events/AddEvent.js): `src/Pages/Events/AddEvent.js`
- [Event detail](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Pages/Events/EventDescription.js): `src/Pages/Events/EventDescription.js`

### State and services

- [Owner service actions](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Services/LandOwners/actions.js): `src/Services/LandOwners/actions.js`
- [Parcel service actions](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Services/LandParcels/actions.js): `src/Services/LandParcels/actions.js`
- [Operator service actions](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Services/Operator/actions.js): `src/Services/Operator/actions.js`
- [Event service actions](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Services/Events/actions.js): `src/Services/Events/actions.js`
- [Login actions](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Services/Login/actions.js): `src/Services/Login/actions.js`
- [Combined reducers](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Services/index.js): `src/Services/index.js`
- [Redux store](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Services/store.js): `src/Services/store.js`
- [API endpoint config](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Config/urls.js): `src/Config/urls.js`
- [Firebase configuration](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/firebase.js): `src/firebase.js`

### Shared interface

- [Header](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Components/Header/index.js): `src/Components/Header/index.js`
- [Sidebar navigation](https://github.com/vaidehipatel311/carbon-mint/blob/formik/src/Components/Sidebar/index.js): `src/Components/Sidebar/index.js`

### Other components

- **Dashboard user**
- **Configured REST API**

## Connections

- Dashboard user → Route app: opens (evidence: `src/App.js`)
- Route app → Login: routes to (evidence: `src/App.js`)
- Route app → Dashboard: routes to (evidence: `src/App.js`)
- Route app → Land-owner records: routes to (evidence: `src/App.js`)
- Route app → Owner form and uploads: routes to (evidence: `src/App.js`)
- Route app → Owner profile: routes to (evidence: `src/App.js`)
- Route app → Parcel records: routes to (evidence: `src/App.js`)
- Route app → Parcel form: routes to (evidence: `src/App.js`)
- Route app → Parcel profile: routes to (evidence: `src/App.js`)
- Route app → Operator records: routes to (evidence: `src/App.js`)
- Route app → Operator onboarding: routes to (evidence: `src/App.js`)
- Route app → Operator profile: routes to (evidence: `src/App.js`)
- Route app → Operator parcels: routes to (evidence: `src/App.js`)
- Route app → Operator crops: routes to (evidence: `src/App.js`)
- Route app → Event records: routes to (evidence: `src/App.js`)
- Route app → Event entry: routes to (evidence: `src/App.js`)
- Route app → Event detail: routes to (evidence: `src/App.js`)
- Dashboard → Owner service actions: fetches owners (evidence: `src/Pages/Dashboard/index.js`)
- Event records → Event service actions: fetches events (evidence: `src/Pages/Events/index.js`)
- Owner form and uploads → Owner service actions: submits owner (evidence: `src/Pages/LandOwners/AddLandOwner.js`)
- Land-owner records → Owner service actions: loads records (evidence: `src/Pages/LandOwners/index.js`)
- Parcel records → Parcel service actions: loads records (evidence: `src/Pages/LandParcels/index.js`)
- Parcel form → Parcel service actions: submits parcel (evidence: `src/Pages/LandParcels/AddLandParcel.js`)
- Operator records → Operator service actions: loads records (evidence: `src/Pages/Operator/index.js`)
- Operator onboarding → Operator service actions: submits operator (evidence: `src/Pages/Operator/AddOperator.js`)
- Operator crops → Event service actions: uses events (evidence: `src/Pages/Operator/crops.js`)
- Event entry → Event service actions: submits event (evidence: `src/Pages/Events/AddEvent.js`)
- Event detail → Event service actions: loads event (evidence: `src/Pages/Events/EventDescription.js`)
- Login → Login actions: authenticates (evidence: `src/Pages/Login/index.js`)
- Login → Firebase configuration: imports config (evidence: `src/Pages/Login/index.js`)
- Dashboard → Header: renders (evidence: `src/Pages/Dashboard/index.js`)
- Dashboard → Sidebar navigation: renders (evidence: `src/Pages/Dashboard/index.js`)
- Land-owner records → Header: renders (evidence: `src/Pages/LandOwners/index.js`)
- Land-owner records → Sidebar navigation: renders (evidence: `src/Pages/LandOwners/index.js`)
- Owner service actions → Configured REST API: requests data (evidence: `src/Services/LandOwners/actions.js`)
- Parcel service actions → Configured REST API: requests data (evidence: `src/Services/LandParcels/actions.js`)
- Operator service actions → Configured REST API: requests data (evidence: `src/Services/Operator/actions.js`)
- Event service actions → Configured REST API: requests data (evidence: `src/Services/Events/actions.js`)
- Login actions → Configured REST API: requests data (evidence: `src/Services/Login/actions.js`)
- Owner service actions → API endpoint config: uses endpoints (evidence: `src/Services/LandOwners/actions.js`)
- Parcel service actions → API endpoint config: uses endpoints (evidence: `src/Services/LandParcels/actions.js`)
- Operator service actions → API endpoint config: uses endpoints (evidence: `src/Services/Operator/actions.js`)
- Event service actions → API endpoint config: uses endpoints (evidence: `src/Services/Events/actions.js`)
- Login actions → API endpoint config: uses endpoints (evidence: `src/Services/Login/actions.js`)
- Redux store → Combined reducers: configures (evidence: `src/Services/store.js`)
