# salimnura77/trueid architecture

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

- Interactive diagram: https://gitdiagram.com/salimnura77/trueid
- Repository: https://github.com/salimnura77/trueid

## Overview

TrueID is presented as a Nigerian digital identity platform, but this repository contains its pre-launch informational website rather than an identity-verification backend. The site explains a user journey—enrolment and verification, credential storage in a wallet, consent-based sharing, and revocation—and describes business, government, integration, security, and trust-center capabilities. Routes compose shared presentation components and page-specific content. The README provides only the product name; workflow and capability evidence comes from the sampled route excerpts and page data, so the graph represents documented site navigation, not operational service calls.

Main entry points: [`app/page.jsx`](https://github.com/salimnura77/trueid/blob/main/app/page.jsx) (Home), [`app/businesses/page.jsx`](https://github.com/salimnura77/trueid/blob/main/app/businesses/page.jsx) (Businesses), [`app/individuals/page.jsx`](https://github.com/salimnura77/trueid/blob/main/app/individuals/page.jsx) (Individuals), [`app/trust-center/page.jsx`](https://github.com/salimnura77/trueid/blob/main/app/trust-center/page.jsx) (Trust center)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_audiences["Audience journeys"]
  node_individuals["Individuals<br/>[page.jsx]"]
  node_businesses["Businesses<br/>[page.jsx]"]
  node_government["Government<br/>[page.jsx]"]
  node_groups["Groups<br/>[page.jsx]"]
  node_pricing["Pricing<br/>[page.jsx]"]
  node_contact["Contact<br/>[page.jsx]"]
  node_about["About<br/>[page.jsx]"]
end

subgraph group_product["Product capabilities"]
  node_enrollment["Get started<br/>[page.jsx]"]
  node_wallet["Identity wallet<br/>[page.jsx]"]
  node_consent["Privacy and consent<br/>[page.jsx]"]
  node_how["How it works<br/>[page.jsx]"]
  node_solution["Solution<br/>[page.jsx]"]
  node_integrations["Integrations<br/>[page.jsx]"]
  node_developers["Developers<br/>[page.jsx]"]
  node_features["Features<br/>[page.jsx]"]
end

subgraph group_trust["Trust and guidance"]
  node_security["Security<br/>[page.jsx]"]
  node_trustcenter["Trust center<br/>[page.jsx]"]
  node_privacy["Privacy<br/>[page.jsx]"]
  node_help["Help and FAQ<br/>[page.jsx]"]
end

subgraph group_shared["Site structure"]
  node_home["Home<br/>[page.jsx]"]
  node_nav["Navigation<br/>[Nav.jsx]"]
  node_ui["Page components<br/>[ui.jsx]"]
  node_pagecontent["Page content<br/>[pages.js]"]
  node_sitecontent["Site navigation data<br/>[site.js]"]
end

node_visitor(("Site visitor"))

node_visitor -->|"opens"| node_home
node_home -->|"links to"| node_individuals
node_home -->|"links to"| node_businesses
node_home -->|"links to"| node_government
node_individuals -->|"starts verification"| node_enrollment
node_individuals -->|"explains credential"| node_wallet
node_individuals -->|"explains sharing"| node_consent
node_businesses -->|"links to API"| node_developers
node_businesses -->|"compares methods"| node_integrations
node_government -->|"links to trust"| node_trustcenter
node_groups -->|"describes eligibility"| node_businesses
node_how -->|"explains journey"| node_enrollment
node_solution -->|"details capabilities"| node_features
node_integrations -->|"supports integration"| node_developers
node_developers -->|"compares paths"| node_integrations
node_security -->|"links to evidence"| node_trustcenter
node_trustcenter -->|"links to architecture"| node_security
node_privacy -->|"explains privacy"| node_consent
node_consent -->|"links to retention"| node_trustcenter
node_businesses -->|"invites discussion"| node_contact
node_home -->|"renders with"| node_ui
node_home -->|"reads content"| node_pagecontent
node_individuals -->|"reads content"| node_pagecontent
node_businesses -->|"reads content"| node_pagecontent
node_government -->|"reads content"| node_pagecontent
node_trustcenter -->|"reads content"| node_pagecontent
node_nav -->|"reads navigation"| node_sitecontent
node_home -->|"shared navigation"| node_nav
node_about -->|"links to home"| node_home

click node_home "https://github.com/salimnura77/trueid/blob/main/app/page.jsx"
click node_individuals "https://github.com/salimnura77/trueid/blob/main/app/individuals/page.jsx"
click node_businesses "https://github.com/salimnura77/trueid/blob/main/app/businesses/page.jsx"
click node_government "https://github.com/salimnura77/trueid/blob/main/app/government/page.jsx"
click node_groups "https://github.com/salimnura77/trueid/blob/main/app/groups/page.jsx"
click node_enrollment "https://github.com/salimnura77/trueid/blob/main/app/get-started/page.jsx"
click node_wallet "https://github.com/salimnura77/trueid/blob/main/app/wallet/page.jsx"
click node_consent "https://github.com/salimnura77/trueid/blob/main/app/privacy-consent/page.jsx"
click node_how "https://github.com/salimnura77/trueid/blob/main/app/how-it-works/page.jsx"
click node_solution "https://github.com/salimnura77/trueid/blob/main/app/solution/page.jsx"
click node_integrations "https://github.com/salimnura77/trueid/blob/main/app/integrations/page.jsx"
click node_developers "https://github.com/salimnura77/trueid/blob/main/app/developers/page.jsx"
click node_features "https://github.com/salimnura77/trueid/blob/main/app/features/page.jsx"
click node_security "https://github.com/salimnura77/trueid/blob/main/app/security/page.jsx"
click node_trustcenter "https://github.com/salimnura77/trueid/blob/main/app/trust-center/page.jsx"
click node_privacy "https://github.com/salimnura77/trueid/blob/main/app/privacy/page.jsx"
click node_help "https://github.com/salimnura77/trueid/blob/main/app/help/page.jsx"
click node_pricing "https://github.com/salimnura77/trueid/blob/main/app/pricing/page.jsx"
click node_contact "https://github.com/salimnura77/trueid/blob/main/app/contact/page.jsx"
click node_nav "https://github.com/salimnura77/trueid/blob/main/components/Nav.jsx"
click node_ui "https://github.com/salimnura77/trueid/blob/main/components/ui.jsx"
click node_pagecontent "https://github.com/salimnura77/trueid/blob/main/lib/pages.js"
click node_sitecontent "https://github.com/salimnura77/trueid/blob/main/lib/site.js"
click node_about "https://github.com/salimnura77/trueid/blob/main/app/about/page.jsx"

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_individuals,node_businesses,node_government,node_groups,node_pricing,node_contact,node_about toneBlue
class node_enrollment,node_wallet,node_consent,node_how,node_solution,node_integrations,node_developers,node_features toneAmber
class node_security,node_trustcenter,node_privacy,node_help toneMint
class node_home,node_nav,node_ui,node_pagecontent,node_sitecontent toneRose
class node_visitor toneIndigo
```

## Components

### Audience journeys

- [Individuals](https://github.com/salimnura77/trueid/blob/main/app/individuals/page.jsx): `app/individuals/page.jsx`
- [Businesses](https://github.com/salimnura77/trueid/blob/main/app/businesses/page.jsx): `app/businesses/page.jsx`
- [Government](https://github.com/salimnura77/trueid/blob/main/app/government/page.jsx): `app/government/page.jsx`
- [Groups](https://github.com/salimnura77/trueid/blob/main/app/groups/page.jsx): `app/groups/page.jsx`
- [Pricing](https://github.com/salimnura77/trueid/blob/main/app/pricing/page.jsx): `app/pricing/page.jsx`
- [Contact](https://github.com/salimnura77/trueid/blob/main/app/contact/page.jsx): `app/contact/page.jsx`
- [About](https://github.com/salimnura77/trueid/blob/main/app/about/page.jsx): `app/about/page.jsx`

### Product capabilities

- [Get started](https://github.com/salimnura77/trueid/blob/main/app/get-started/page.jsx): `app/get-started/page.jsx`
- [Identity wallet](https://github.com/salimnura77/trueid/blob/main/app/wallet/page.jsx): `app/wallet/page.jsx`
- [Privacy and consent](https://github.com/salimnura77/trueid/blob/main/app/privacy-consent/page.jsx): `app/privacy-consent/page.jsx`
- [How it works](https://github.com/salimnura77/trueid/blob/main/app/how-it-works/page.jsx): `app/how-it-works/page.jsx`
- [Solution](https://github.com/salimnura77/trueid/blob/main/app/solution/page.jsx): `app/solution/page.jsx`
- [Integrations](https://github.com/salimnura77/trueid/blob/main/app/integrations/page.jsx): `app/integrations/page.jsx`
- [Developers](https://github.com/salimnura77/trueid/blob/main/app/developers/page.jsx): `app/developers/page.jsx`
- [Features](https://github.com/salimnura77/trueid/blob/main/app/features/page.jsx): `app/features/page.jsx`

### Trust and guidance

- [Security](https://github.com/salimnura77/trueid/blob/main/app/security/page.jsx): `app/security/page.jsx`
- [Trust center](https://github.com/salimnura77/trueid/blob/main/app/trust-center/page.jsx): `app/trust-center/page.jsx`
- [Privacy](https://github.com/salimnura77/trueid/blob/main/app/privacy/page.jsx): `app/privacy/page.jsx`
- [Help and FAQ](https://github.com/salimnura77/trueid/blob/main/app/help/page.jsx): `app/help/page.jsx`

### Site structure

- [Home](https://github.com/salimnura77/trueid/blob/main/app/page.jsx): `app/page.jsx`
- [Navigation](https://github.com/salimnura77/trueid/blob/main/components/Nav.jsx): `components/Nav.jsx`
- [Page components](https://github.com/salimnura77/trueid/blob/main/components/ui.jsx): `components/ui.jsx`
- [Page content](https://github.com/salimnura77/trueid/blob/main/lib/pages.js): `lib/pages.js`
- [Site navigation data](https://github.com/salimnura77/trueid/blob/main/lib/site.js): `lib/site.js`

### Other components

- **Site visitor**

## Connections

- Site visitor → Home: opens
- Home → Individuals: links to
- Home → Businesses: links to
- Home → Government: links to
- Individuals → Get started: starts verification
- Individuals → Identity wallet: explains credential
- Individuals → Privacy and consent: explains sharing
- Businesses → Developers: links to API
- Businesses → Integrations: compares methods
- Government → Trust center: links to trust
- Groups → Businesses: describes eligibility
- How it works → Get started: explains journey
- Solution → Features: details capabilities
- Integrations → Developers: supports integration
- Developers → Integrations: compares paths
- Security → Trust center: links to evidence
- Trust center → Security: links to architecture
- Privacy → Privacy and consent: explains privacy
- Privacy and consent → Trust center: links to retention
- Businesses → Contact: invites discussion
- Home → Page components: renders with
- Home → Page content: reads content
- Individuals → Page content: reads content
- Businesses → Page content: reads content
- Government → Page content: reads content
- Trust center → Page content: reads content
- Navigation → Site navigation data: reads navigation
- Home → Navigation: shared navigation
- About → Home: links to home
