Skip to content

Dashboard Overview

The Keshless Admin Dashboard is a web-based administration interface for managing the Keshless payment ecosystem.

Purpose

The dashboard enables administrators to:

  • Monitor system health and transactions
  • Manage users and vendors
  • Review KYC verifications
  • Configure fees and limits
  • Handle AML compliance
  • Manage cards and operations

Technology Stack

ComponentTechnology
FrontendReact + TypeScript
StylingTailwind CSS
StateReact Query
RoutingReact Router
ChartsRecharts
UI ComponentsCustom + Headless UI

Architecture

src/
├── components/         # Reusable UI components
│   ├── common/        # Buttons, inputs, cards
│   ├── layout/        # Header, sidebar, layout
│   └── charts/        # Chart components
├── pages/             # Route pages
│   ├── dashboard/
│   ├── users/
│   ├── vendors/
│   ├── transactions/
│   ├── verifications/
│   ├── aml/
│   ├── cards/
│   └── settings/
├── services/          # API service layer
├── hooks/             # Custom React hooks
├── types/             # TypeScript interfaces
├── utils/             # Helper functions
└── App.tsx            # Main app component
┌─────────────────────────────────────────────────────────┐
│  ┌─────────┐                                            │
│  │  Logo   │  Keshless Admin Dashboard    [Search] [👤] │
│  └─────────┘                                            │
├─────────────┬───────────────────────────────────────────┤
│             │                                           │
│  Dashboard  │                                           │
│  ─────────  │                                           │
│  Users      │            Main Content Area              │
│  Vendors    │                                           │
│  Transact.  │                                           │
│  Verific.   │                                           │
│  AML        │                                           │
│  Cards      │                                           │
│  ─────────  │                                           │
│  Settings   │                                           │
│             │                                           │
└─────────────┴───────────────────────────────────────────┘

Features at a Glance

SectionDescriptionRoute
AnalyticsDashboard metrics, charts/
UsersUser management/users
VendorsVendor management/vendors
TransactionsTransaction monitoring/transactions
VerificationsKYC review/verifications
AMLCompliance monitoring/aml
CardsCard management/cards
ConfigurationSystem settings/settings

Authentication

Login Flow

  1. Admin enters credentials
  2. System validates and returns JWT
  3. Protected routes check authentication
  4. Unauthenticated users redirect to login

Role-Based Access

RoleAccess Level
Super AdminFull access
AdminAll except settings
SupportUsers, transactions, verifications
ComplianceAML, verifications
ViewerRead-only access

API Integration

Query Configuration

SettingValueDescription
Stale Time5 minutesCache duration
Refetch on FocusYesRefresh when tab gains focus
Retry3 timesRetry failed requests

Service Pattern

All API calls follow a consistent service pattern:

  • getList(filters) - Paginated list queries
  • getById(id) - Single item fetch
  • create(data) - Create new records
  • update(id, data) - Update existing records
  • delete(id) - Remove records

Environment Configuration

VariableDescription
VITE_API_URLProduction API URL
VITE_DEV_API_URLDevelopment API URL

Code Location

ItemPath
Repositoryfrontend/keshless-dashboard/
Entrysrc/main.tsx
Appsrc/App.tsx
Routessrc/routes.tsx
API Clientsrc/services/api.ts

Screenshots

Dashboard Overview

Dashboard Overview

Internal use only - Keshless Payment Platform