A modern fleet management system built with React, TypeScript, and .NET Core 8.
- .NET 8 SDK
- Node.js 18+ and npm
- Docker and Docker Compose
- Kubernetes (for production deployment)
- Azure CLI (for AKS deployment)
.
├── fleet-api/ # .NET Core 8 Web API
├── fleet-ui/ # React + TypeScript Frontend
├── k8s/ # Kubernetes manifests
└── docker-compose.yml # Development environment
-
Backend Setup:
cd fleet-api dotnet restore dotnet run -
Frontend Setup:
cd fleet-ui npm install npm start -
Docker Development:
docker-compose up
GET /api/vehicles- List all vehiclesGET /api/routes- List all routes
The system uses SignalR WebSocket hub for real-time vehicle position updates. The frontend connects to the SignalR hub at /vehicleHub to receive live location updates.
The frontend includes a Leaflet map component that displays:
- Vehicle locations
- Real-time position updates
- Route visualization
- Backend runs on port 5000
- Frontend runs on port 3000
- SignalR hub is available at
ws://localhost:5000/vehicleHub
See k8s/README-k8s.md for Kubernetes deployment instructions.