A full-stack logistics management system for managing drivers, deliveries, orders, fuel tracking, and delivery efficiency analytics.
(still in development)
Core System
- User authentication (OTP-based)
- Store & product management
- Order creation & tracking
- Delivery assignment system
- Driver & lorry management
- Fuel tracking system
Analytics
- Delivery efficiency scoring
- Average delivery time tracking
- On-time delivery rate
- Distance-based performance metrics
- Driver performance ranking (WIP)
Backend
- Node.js
- Express.js
- Prisma ORM
- PostgreSQL
- JWT / OTP auth
Frontend
- React
- Axios
- Formik + Yup
- Lucide Icons
-
Clone the repository and navigate to project directory:
git clone https://github.com/your-username/kow-hock-delivery.git
-
Download the dependencies in package.json in both website and server:
npm install cd server npm install -
Create .env files for both frontend and backend and add required API keys.
-
Run Prisma migrations
npx prisma migrate dev npx prisma generate
-
Start the development server on frontend
cd Kow-Hock/frontend cd website npm run dev
-
In another terminal, run the backend
cd Kow-Hock/backend/server node
Frontend: http://localhost:5173
Backend API: http://localhost:8000