ValTown-Package-Tracker
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
index.ts
https://jhiller--82e281542ee011f083d7569c3dd06744.web.val.run
A web application that ingests payloads from a HTTP integration and displays them on a map in realtime. The app tracks package locations and displays the history of where the package has been.
- HTTP endpoint to receive location data from ChirpStack
- Interactive map showing current and historical package locations
- Automatic map zooming to show all locations
- Detailed metadata view when clicking on a location point
- Persistent storage of location history
/backend
- Server-side code for the HTTP endpoint and API/frontend
- Client-side code for the map interface/shared
- Shared types and utilities
- Backend: Hono (API framework)
- Database: SQLite for persistent storage
- Frontend: HTML, CSS, JavaScript with Leaflet.js for mapping
- TypeScript for type safety
- The application will automatically receive data from ChirpStack when properly configured
- Visit the main page to view the package tracker interface
- Click on any location marker to view detailed metadata