# kabeer-ahmad/binexia-bot architecture

> Architecture diagram of the GitHub repository kabeer-ahmad/binexia-bot, 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/kabeer-ahmad/binexia-bot
- Repository: https://github.com/kabeer-ahmad/binexia-bot

## Overview

Binexia Bot is a trading-signal access dashboard. Its user workflow is account registration and sign-in, payment-plan selection and proof submission, followed by a dashboard that checks authentication and payment status before access. Admins review payment requests and can activate or revoke access. The landing page presents the product through separately implemented promotional sections; support pages provide contact, help, and policy information. The excerpts show Supabase client calls but not backend configuration or schema, so backend links are documented at the product level.

Main entry points: [`app/page.tsx`](https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/page.tsx) (Home Page), [`lib/supabaseClient.ts`](https://github.com/kabeer-ahmad/binexia-bot/blob/main/lib/supabaseClient.ts) (Supabase Client), [`app/signin/page.tsx`](https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/signin/page.tsx) (Sign In), [`app/admin/page.tsx`](https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/admin/page.tsx) (Payment Admin)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_landing["Landing Experience"]
  node_home["Home Page<br/>[page.tsx]"]
  node_hero["Hero<br/>[Hero.tsx]"]
  node_demo["Live Demo<br/>[Demo.tsx]"]
  node_metrics["Metrics<br/>[Metrics.tsx]"]
  node_features["Features<br/>[Features.tsx]"]
  node_platforms["Platforms"]
  node_reviews["Reviews<br/>[ReviewsSlider.tsx]"]
  node_cta["Call to Action<br/>[CTASection.tsx]"]
end

subgraph group_identity["Accounts and Access"]
  node_signup["Registration<br/>[page.tsx]"]
  node_signin["Sign In<br/>[page.tsx]"]
  node_client["Supabase Client<br/>[supabaseClient.ts]"]
end

subgraph group_payments["Payment Administration"]
  node_plans["Plan Selection<br/>[page.tsx]"]
  node_proof["Payment Submission<br/>[page.tsx]"]
  node_admin["Payment Admin<br/>[page.tsx]"]
end

subgraph group_dashboard["Trading Dashboard"]
  node_dashboard["Signal Dashboard<br/>[page.tsx]"]
end

subgraph group_support["Support"]
  node_support["Support and Policies"]
end

node_visitor(("Visitor"))
node_supabase[("Supabase Services")]

node_visitor -->|"views"| node_home
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_demo
node_home -->|"renders"| node_metrics
node_home -->|"renders"| node_features
node_home -->|"renders"| node_platforms
node_home -->|"renders"| node_reviews
node_home -->|"renders"| node_cta
node_signup -->|"uses"| node_client
node_signin -->|"uses"| node_client
node_signin -->|"routes admins"| node_admin
node_plans -->|"uses"| node_client
node_proof -->|"uses"| node_client
node_admin -->|"uses"| node_client
node_dashboard -->|"uses"| node_client
node_client -.->|"connects"| node_supabase
node_support -.->|"serves"| node_visitor

click node_home "https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/page.tsx"
click node_hero "https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/components/Hero.tsx"
click node_demo "https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/components/Demo.tsx"
click node_metrics "https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/components/Metrics.tsx"
click node_features "https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/components/Features.tsx"
click node_platforms "https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/components/SupportedPlatforms.tsx"
click node_reviews "https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/components/ReviewsSlider.tsx"
click node_cta "https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/components/CTASection.tsx"
click node_signup "https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/signup/page.tsx"
click node_signin "https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/signin/page.tsx"
click node_client "https://github.com/kabeer-ahmad/binexia-bot/blob/main/lib/supabaseClient.ts"
click node_plans "https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/payment-plan/page.tsx"
click node_proof "https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/payment/%5BplanId%5D/page.tsx"
click node_admin "https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/admin/page.tsx"
click node_dashboard "https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/dashboard/page.tsx"
click node_support "https://github.com/kabeer-ahmad/binexia-bot/tree/main/app/support"

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_hero,node_demo,node_metrics,node_features,node_platforms,node_reviews,node_cta toneBlue
class node_signup,node_signin,node_client,node_supabase toneAmber
class node_plans,node_proof,node_admin toneMint
class node_dashboard toneRose
class node_support,node_visitor toneIndigo
```

## Components

### Landing Experience

- [Home Page](https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/page.tsx): `app/page.tsx`
- [Hero](https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/components/Hero.tsx): `app/components/Hero.tsx`
- [Live Demo](https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/components/Demo.tsx): `app/components/Demo.tsx`
- [Metrics](https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/components/Metrics.tsx): `app/components/Metrics.tsx`
- [Features](https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/components/Features.tsx): `app/components/Features.tsx`
- [Platforms](https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/components/SupportedPlatforms.tsx): `app/components/SupportedPlatforms.tsx`
- [Reviews](https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/components/ReviewsSlider.tsx): `app/components/ReviewsSlider.tsx`
- [Call to Action](https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/components/CTASection.tsx): `app/components/CTASection.tsx`

### Accounts and Access

- [Registration](https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/signup/page.tsx): `app/signup/page.tsx`
- [Sign In](https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/signin/page.tsx): `app/signin/page.tsx`
- [Supabase Client](https://github.com/kabeer-ahmad/binexia-bot/blob/main/lib/supabaseClient.ts): `lib/supabaseClient.ts`

### Payment Administration

- [Plan Selection](https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/payment-plan/page.tsx): `app/payment-plan/page.tsx`
- [Payment Submission](https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/payment/%5BplanId%5D/page.tsx): `app/payment/[planId]/page.tsx`
- [Payment Admin](https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/admin/page.tsx): `app/admin/page.tsx`

### Trading Dashboard

- [Signal Dashboard](https://github.com/kabeer-ahmad/binexia-bot/blob/main/app/dashboard/page.tsx): `app/dashboard/page.tsx`

### Support

- [Support and Policies](https://github.com/kabeer-ahmad/binexia-bot/tree/main/app/support): `app/support`

### Other components

- **Visitor**
- **Supabase Services**

## Connections

- Visitor → Home Page: views
- Home Page → Hero: renders (evidence: `app/page.tsx`)
- Home Page → Live Demo: renders (evidence: `app/page.tsx`)
- Home Page → Metrics: renders (evidence: `app/page.tsx`)
- Home Page → Features: renders (evidence: `app/page.tsx`)
- Home Page → Platforms: renders (evidence: `app/page.tsx`)
- Home Page → Reviews: renders (evidence: `app/page.tsx`)
- Home Page → Call to Action: renders (evidence: `app/page.tsx`)
- Registration → Supabase Client: uses (evidence: `app/signup/page.tsx`)
- Sign In → Supabase Client: uses (evidence: `app/signin/page.tsx`)
- Sign In → Payment Admin: routes admins (evidence: `app/signin/page.tsx`)
- Plan Selection → Supabase Client: uses (evidence: `app/payment-plan/page.tsx`)
- Payment Submission → Supabase Client: uses (evidence: `app/payment/[planId]/page.tsx`)
- Payment Admin → Supabase Client: uses (evidence: `app/admin/page.tsx`)
- Signal Dashboard → Supabase Client: uses (evidence: `app/dashboard/page.tsx`)
- Supabase Client → Supabase Services: connects (evidence: `README.md`)
- Support and Policies → Visitor: serves
