Skip to content

PalDPathak404/OdooXGJVidhyaPith

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

57 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš› FleetFlow

Industrial Fleet Management & Logistics Platform

A premium, full-stack enterprise solution designed to streamline the management of vehicles, track dispatch trips dynamically, monitor active maintenance, and analyze fleet expenditure with granular precision.

MERN Stack Vite Tailwind CSS License: MIT


πŸ“Έ Application Interface & Core Modules

Our interface is built with premium aesthetics, offering glassmorphism design, native dark mode integrations, and responsive micro-animations for an elevated user experience.

Secure Authentication & Dashboard Command

Registration (Left): A clean entry point requiring corporate identity and operator codes designed around intuitive Auth layouts.
Dashboard Overview (Right): The central nervous system of the app, heavily featuring vital fleet metrics, live active dispatches, maintenance alerts, and recent log KPIs.

Registration Page Dashboard Overview

Fleet & Logistics Management

Vehicle Registry (Left): Real-time monitoring of all industrial fleet assets showing active availability, odometer progressions, and physical capacity.
Trip Dispatch (Right): A dynamic map-enabled logistics hub allowing operators to assign routes, configure cargo weight, and manage drivers in real-time.

Vehicle Registry Trip Logistics

Operational Maintenance & Financials

Maintenance Bay (Left): Active logging for mechanical repairs to proactively isolate faulty vehicles and prevent severe deployment downtime.
Expense Analytics (Right): Visual data reporting charts and tabular statistics calculating ROI against critical fuel expenditures and maintenance costs.

Maintenance Tracking Expense Analytics

Operator Intelligence

Corporate Identity Profile: Dedicated operational command space letting authorized users review clearance levels, overview platform security settings, and configure unit system preferences.

User Profile

🌟 Core Features

Feature Capabilities
πŸ›‘οΈ Advanced Security JWT-protected authentication with state-of-the-art bcrypt hashing and robust Role-Based Access Control (RBAC).
πŸ“Š Intelligent Dashboard Live Key Performance Indicators (KPIs), fleet utilization scores, and real-time active dispatch monitoring.
πŸš— Vehicle Registry Comprehensive inventory management. Track vehicle license plates, capacities, availability status, and odometer logic.
πŸ—ΊοΈ Dispatch & Trip Logs Industrial-level trip creation flow. Assign drivers, calculate operational distance, and enforce lifecycle rules.
πŸ”§ Maintenance Shop Log servicing records with estimated costs. Automatically shift vehicle statuses to "In Shop" to prevent false dispatches.
πŸ’° Expense Engines Deep financial insights calculating total fuel consumption metrics against maintenance costs to report fleet ROI.
βš™οΈ Corporate Profiles Deep activity logging, security oversight, and user detail tracking dynamically rendered based on the employee's role tier.

πŸ—οΈ Technical Architecture

FleetFlow follows a monolithic separation of concerns, strictly isolating the client application logic from the database and API governance.

Frontend Client

  • Core: React 19, Vite, JavaScript (ESM)
  • State Management: Zustand (for lightweight, scalable flux patterns)
  • Styling: Vanilla CSS layered on Next-Gen Tailwind CSS utility systems
  • Routing: React Router v7 with Client-Side Route Guards matching user tiers
  • Icons & Assets: Lucide React, Framer Motion (for fluid rendering)
  • Telemetry Layer: Leaflet.js with OpenStreetMap (OSM) tile support for accurate, real-world geospatial tracking.

Backend API Server

  • Runtime: Node.js powered by Express.js framework
  • Database Architecture: MongoDB Atlas mapped via Mongoose schemas
  • Auth Engine: JSON Web Tokens (JWT) for stateless transmission
  • Validation & Business Logic: Centralized service controllers

πŸ‘₯ Role-Based Access Control (RBAC)

Access and feature visibility are strictly governed by the user's corporate designation:

Corporate Role πŸ“Š Dashboard πŸš— Vehicles πŸ—ΊοΈ Trips πŸ”§ Maintenance πŸ’° Expenses
Administrator βœ… Full Access βœ… Full Access βœ… Full Access βœ… Full Access βœ… Full Access
Fleet Manager βœ… Overview βœ… Edit/Manage βœ… Dispatch βœ… Schedule βœ… View/Audit
Dispatcher βœ… Overview βœ… View Logs βœ… Direct Routing ❌ Restricted ❌ Restricted
Safety Officer βœ… Alerts Only βœ… Compliance ❌ Restricted βœ… Edit/Inspect ❌ Restricted
Financial Analyst βœ… Fiscal Data ❌ Restricted ❌ Restricted ❌ Restricted βœ… Full Access

πŸš€ Getting Started

Follow these instructions to deploy the standard development environment on your local system.

Prerequisites

1. Repository Setup

# Clone the repository
git clone https://github.com/your-username/FleetFlow.git

# Navigate into the project payload
cd FleetFlow/OdooXGJVidhyaPith

2. Backend Initialization

The Express.js REST API runs isolated on Port 5000.

cd backend

# Install dependencies
npm install

Create a .env configuration file in the backend/ directory:

PORT=5000
MONGO_URI=mongodb+srv://<your_username>:<your_password>@cluster.mongodb.net/fleetflow
JWT_SECRET=super_secret_enterprise_key_2026

Start the server:

# Runs persistent nodemon monitoring
npm run dev 

3. Frontend Initialization

The React/Vite development server runs on Port 5173.

cd frontend

# Install dependencies
npm install

# Start the Vite Hot-Module-Replacement interface
npm run dev

The application client will be available at http://localhost:5173.


πŸ“‚ Project Directory Map

OdooXGJVidhyaPith/
β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ config/           # Database initialization layers
β”‚   β”œβ”€β”€ controllers/      # Functional request/response handlers
β”‚   β”œβ”€β”€ middleware/       # System intercepts (JWT Auth Verification)
β”‚   β”œβ”€β”€ models/           # NoSQL Mongoose Schemas (Vehicle, Driver, Trip, Expense)
β”‚   β”œβ”€β”€ routes/           # Defined architectural API endpoints
β”‚   β”œβ”€β”€ services/         # Decoupled business rules and calculations
β”‚   └── server.js         # Backend Entry Node
β”‚
β”œβ”€β”€ frontend/
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ components/   # Modular, declarative React UI Blocks
β”‚   β”‚   β”œβ”€β”€ layout/       # Frame structural scaffolding (Topbars, Sidebars)
β”‚   β”‚   β”œβ”€β”€ mock/         # Redundancy seeding data 
β”‚   β”‚   β”œβ”€β”€ pages/        # High-order page compositions
β”‚   β”‚   β”œβ”€β”€ store/        # Zustand global states (fleetStore.js)
β”‚   β”‚   β”œβ”€β”€ App.jsx       # Client router and guard configurations
β”‚   β”‚   └── main.jsx      # DOM Mounting 
β”‚   └── index.html        # Shell File
β”‚
β”œβ”€β”€ screenshots/          # Cached UI rendering snapshots for preview
└── README.md             # This document

πŸš€ Future Roadmap

  • Predictive Maintenance: ML models to predict asset failure.
  • Route Optimization: AI-driven pathfinding to minimize fuel consumption.
  • Mobile Companion: Native iOS/Android clients for on-field updates.

🀝 Contribution Policies

Enterprise contributions are welcome. For major overhauls or feature additions, please explicitly open an issue to discuss design strategies before pushing structural changes to active branches.

πŸ“„ Licensing

This software is distributed under the proprietary MIT License. Copyright Β© 2026 FleetFlow Enterprise Logistical Systems.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors