> ## Documentation Index
> Fetch the complete documentation index at: https://docs.avyratech.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> Welcome to the Tonnex fleet management platform documentation.

# Welcome to Tonnex

Tonnex is an enterprise-grade, multi-tenant fleet management platform built for logistics and transportation businesses in India.

## What is Tonnex?

Tonnex provides a comprehensive suite of 21 interconnected modules covering:

* **Fleet Operations** — Vehicle management, trip tracking, compliance monitoring
* **Financial Management** — Invoicing (GST/E-Invoice), payments, payroll
* **Human Resources** — Staff management, attendance, designations
* **Inventory** — Unified resource management for serialized and consumable assets
* **Inter-Org Network** — Franchise management, vendor sub-contracting, consolidated reporting

## Architecture Overview

Tonnex is built as a **Turborepo monorepo** with:

| App/Package      | Purpose                               |
| ---------------- | ------------------------------------- |
| `apps/web`       | Next.js 15 Admin Dashboard            |
| `apps/api`       | NestJS Logic Engine                   |
| `apps/docs`      | This documentation site (Mintlify)    |
| `packages/db`    | Drizzle ORM schemas & migrations      |
| `packages/ui`    | Shared UI components (shadcn/ui)      |
| `packages/utils` | Zod validators & formatting utilities |

## Multi-Tenant by Design

Every data table includes `org_id` for Row Level Security (RLS). PostgreSQL RLS policies at the database layer ensure complete data isolation between organizations — even if application-level security is bypassed.

## Quick Links

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/quickstart">
    Set up your development environment
  </Card>

  <Card title="Architecture" icon="sitemap" href="/architecture">
    Understand the system design
  </Card>

  <Card title="Adding a Module" icon="plus" href="/guides/adding-a-module">
    Step-by-step guide
  </Card>

  <Card title="API Reference" icon="code" href="/api-reference/overview">
    REST API documentation
  </Card>
</CardGroup>
