TrackR is a web-based application that helps companies manage their fleet of delivery vehicles. It provides an easy way to monitor the performance of vehicles, track expenses, schedule maintenance tasks, and keep track of driver behavior.
This is a microservices application based on NodeJS, React, Kubernetes, and MySQL.
TrackR provides the following features:
- Real-time vehicle tracking
- Trip history and reports
- Driver behavior monitoring
- Fuel and expense management
- Maintenance scheduling and reminders
- Geofencing and alerts
- Driver identification and access control
Using TrackR can help companies reduce operating costs, increase efficiency, improve vehicle safety, and enhance overall fleet management. It is a user-friendly application that can be accessed from any device with an internet connection.
To run TrackR, you will need the following:
- Node.js 14 or higher
- MySQL 8.0 or higher
- Kubernetes 1.18 or higher
To install TrackR, follow these steps:
- Clone the repository:
git clone https://github.com/username/TrackR.git
- Install the dependencies:
npm install
- Configure the database connection:
cp .env.example .env
and edit the.env
file with your database credentials - Start the server:
npm start
To use TrackR, open your web browser and go to http://localhost:3000
. You should see the login page.
Login using the default credentials:
- Email:
[email protected]
- Password:
password
Once you are logged in, you can start using TrackR.
Here is a class diagram showing the components of the TrackR application:
classDiagram
class App {
+Map: Component
+Vehicle: Component
+DriverDetails: Component
}
class Map {
+displayMarkers(drivers): void
}
class Vehicle {
+driver: Object
+vehicleType: String
+render(): void
}
class DriverDetails {
+driver: Object
+coordinates: Object
+speed: Number
+dropNumber: Number
+render(): void
}
class ApiService {
+fetchDriverData(): Promise
+fetchVehicleTelemetry(): Promise
}
class ApiGateway {
}
class DriverService {
}
class PositionSimulator {
}
class PositionTracker {
}
class StaffService {
}
class VehicleTelemetry {
}
App -- Map
App -- Vehicle
App -- DriverDetails
Vehicle -- ApiService
DriverDetails -- ApiService
ApiService -- ApiGateway
ApiGateway -- DriverService
ApiGateway -- PositionSimulator
ApiGateway -- PositionTracker
ApiGateway -- StaffService
ApiGateway -- VehicleTelemetry
end