Transportation & Logistics: Track a delivery fleet in real time
Try these · any order
Done: 0/7To do: Dispatch a Vehicle
To do: View Properties of a Dispatched Vehicle
To do: Send a Push Message to the Driver
To do: Reboot a Temperature Sensor
To do: Localize the Experience
To do: Redirect a Vehicle
To do: Dispatch a Second Vehicle
Make your own logistics dashboard
Clone the app, add your PubNub keys and a Google Maps API key, and run it locally.
GitHub
PubNubDevelopers/transport-logistics-javascript-demo
The complete source. Enable Presence, Stream Controller, and Message Persistence on your keyset, add your keys and Google Maps API key to js/keys.js, then serve the folder with any local web server, for example python3 -m http.server 8080.
git clone https://github.com/PubNubDevelopers/transport-logistics-javascript-demo.gitYou might want to build next...
- Geolocation
Delivery Demo
Track deliveries in real time without requiring a custom backend.
- IoT Device Control
IoT Dashboard Demo
Watch simulated sensors report from around the world on a live map. Rename, reboot, update, or delete them from the dashboard. Built with plain JavaScript and the PubNub JavaScript SDK.
- Real-time Streaming
Real-Time Data Streaming Demo
Pick a data stream and watch its messages arrive in your browser. Switch streams, pause, and see the code for the stream you are watching. Built with the PubNub JavaScript SDK.