Skip to content

Admin Panel (apps/admin)

The Admin Panel is a web-based dashboard for managing the Majestic Transport ecosystem. It is primarily used by dispatchers and fleet managers.

Purpose

The main goal of the Admin Panel is to provide a single, centralized location to oversee all aspects of the transport operation:

  • Vehicle Management: Track all cars, their status, and maintenance history.
  • Driver Coordination: Assign drivers to trips and monitor their activity.
  • Trip Scheduling: Create, edit, and schedule trips for guests and clients.
  • Organization Hierarchy: Manage multiple companies, organizations, and their respective permissions.
  • Reporting & Analytics: Gain insights into business performance and trip statistics.

Core Features

  • Dashboard: A high-level overview of active trips, alerts, and key performance metrics.
  • Trip Management: A comprehensive view of all scheduled and historical trips.
  • Resource Management: Dedicated sections for managing the fleet of cars and the pool of drivers.
  • Organizational Settings: Tools for configuring organization-wide settings, user roles, and partner companies.

Technical Highlights

  • Framework: Built with React 19 and Vite for a modern, high-performance web experience.
  • Routing: Uses TanStack Router for type-safe and robust navigation.
  • Data Fetching: Leverages TanStack Query for efficient caching and synchronization with the backend.
  • Styling: Styled with Tailwind CSS v4 for a clean and consistent UI.
  • API Interaction: Communicates with the Backend API using the shared @majestic-transport/client package.

Targeted Audience

  • Dispatchers
  • Fleet Managers
  • System Administrators
  • Business Owners