git clone https://github.com/vishesh-017/fleetflow.git
cd fleetflow
2️⃣ Backend Setup (Flask)
cd backend
pip install -r requirements.txt
python app.py
Backend runs at:
http://localhost:5000
3️⃣ Frontend Setup (React)
cd frontend
npm install
npm start
Frontend runs at:
http://localhost:3000FleetFlow replaces manual logbooks with a centralized digital fleet command center.
It helps organizations manage:
- 🚘 Vehicles
- 👨
✈️ Drivers - 🚚 Trip Dispatch
- 📊 Utilization & Performance Tracking
- Active fleet tracking
- Utilization rate calculation
- Maintenance alerts
- Real-time updates
- Add / Edit / Delete vehicles
- Unique license plate validation
- Capacity tracking (kg)
- Status control:
- Available
- In Shop
- On Trip
- Driver creation
- Assignment validation
- Compliance tracking (future scope)
Workflow:
- Select available vehicle
- Assign driver
- Enter cargo weight
- Validate cargo < vehicle capacity
- Dispatch
Business Rules:
- Vehicles marked “In Shop” cannot be dispatched
- Cargo exceeding capacity is blocked
- Expired driver licenses block assignment (planned)
| Layer | Technology |
|---|---|
| Backend | Flask + SQLAlchemy + SQLite |
| Frontend | React 18 + Material UI |
| API | RESTful JSON |
| Database | SQLite (PostgreSQL-ready) |
fleetflow/
│
├── backend/
│ ├── app.py
│ ├── models.py
│ ├── instance/
│ │ └── fleetflow.db
│ └── requirements.txt
│
├── frontend/
│ ├── public/
│ ├── src/
│ │ ├── App.js
│ │ ├── index.js
│ │ └── components/
│ ├── package.json
│ └── package-lock.json
│
├── README.md
└── .gitignore
| Method | Endpoint | Description |
|---|---|---|
GET |
/vehicles |
List vehicles |
POST |
/vehicles |
Create vehicle |
GET |
/drivers |
List drivers |
POST |
/drivers |
Create driver |
GET |
/dashboard |
Fleet KPIs |
- Start backend
- Start frontend
- Add vehicle (e.g.,
VAN001,500kg) - Add driver
- Verify dashboard metrics update
- Trip management system
- Maintenance scheduling
- Expense tracking
- Cost-per-km analytics
- Authentication (JWT)
- PostgreSQL production migration
- Deployment pipeline
- Frontend → Vercel / Netlify
- Backend → Render / Railway
- Database → PostgreSQL
git checkout -b feature/new-feature
git commit -m "Add new feature"
git push origin feature/new-featureOpen a Pull Request for review.
MIT License © 2026 FleetFlow Team