Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fleet Management System

Overview

Fleet Management System is a web application designed for efficient fleet management for the company PONG. It eliminates manual tracking of vehicles and trip records, providing authorized users with easy access to all relevant data.

Features

  • Vehicle Management – Add, update, and delete vehicles.
  • Trip Records – Log and track trips with driver, route, and status details.
  • Report Generation – Generate vehicle usage reports.
  • User Roles – Admins manage vehicles and trips; users can log and view trips.

Technologies

  • Frontend: React.js, Tailwind CSS (hosted on Vercel)
  • Backend: Node.js, Express.js (hosted on Railway)
  • Database: PostgreSQL (hosted on Neon.tech)
  • Authentication: JWT (JSON Web Token)

Installation

git clone https://github.com/sejooo1/fleet-management.git
cd fleet-management

Backend

cd backend
npm install
node index.js

Frontend

cd frontend
npm install
npm start

API Endpoints

  • Auth: POST /api/auth/login
  • Vehicles: GET /api/vehicles, POST /api/vehicles (admin), PUT /api/vehicles/:id (admin), DELETE /api/vehicles/:id (admin)
  • Trips: GET /api/trips, POST /api/trips, PUT /api/trips/:id/status (admin), DELETE /api/trips/:id (admin)
  • Reports: GET /api/reports/usage

Deployment

License

MIT License

Releases

Packages

Used by

Contributors

Languages