Skip to content

Snehit70/fleetflow

Repository files navigation

FleetFlow - Modular Fleet & Logistics Management System

A centralized, rule-based digital hub that optimizes delivery fleet lifecycle, monitors driver safety, and tracks financial performance.

Login Screen

Tech Stack

Layer Technology
Framework Nuxt 4 (Full-stack)
Frontend Vue 3 + Tailwind CSS
Database SQLite + Prisma ORM
Authentication JWT
Language TypeScript

Features

  • Dashboard - Real-time KPIs (Active Fleet, Maintenance Alerts, Utilization Rate)
  • Vehicle Management - CRUD operations with status tracking (Available, On Trip, In Shop, Retired)
  • Driver Management - License compliance tracking and safety scores
  • Trip Dispatcher - Cargo validation, auto-status updates on dispatch/complete
  • Maintenance Logs - Auto vehicle status updates when logging maintenance
  • Expense Tracking - Fuel logs and operational costs with summaries
  • Analytics - Fuel efficiency charts, cost breakdown, ROI calculations, CSV exports
  • RBAC - Role-based access control (Manager, Dispatcher, Safety Officer, Financial Analyst)

Security And Production Notes

  • Auth is cookie-based (HttpOnly, SameSite=Lax, Secure in production).
  • API routes rely on authenticated cookie sessions instead of client-supplied bearer tokens.
  • Self-registration is disabled by default; user provisioning should be manager-controlled.
  • Driver ON_TRIP status is system-managed by trip dispatch/complete/cancel flows.

Quick Start

# Install dependencies
bun install

# Setup database
bunx prisma generate
bunx prisma db push
bun run seed

# Run development server
bun run dev

Open http://localhost:4000

Seed Credentials (Development Only)

The default seed data is for local development. Do not use these accounts or passwords in production environments.

Role Email Password
Manager admin@fleetflow.com password123
Dispatcher dispatch@fleetflow.com password123
Safety Officer safety@fleetflow.com password123
Financial Analyst finance@fleetflow.com password123

Documentation

See docs/ folder for detailed documentation:

Team

  • Team Leader: Atulya Rai
  • Mentor: Bharat Singh Rathore (@bsra-odoo)

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors