Road Alert
A mobile app with traffic data for Slovenia. My final project in secondary school.
Problem
A driver needs official traffic data and alerts from other drivers in one place, without switching between several sources.
Solution
The map shows official sources (road events, cameras, weather, border delays and rest areas) and user reports: speed camera, obstacle, accident, bad weather, traffic jam or police control. Other users can confirm a report, and old reports expire on their own. It also has messages between users, statistics and an admin screen.
Architecture
User data is stored locally on the device.
Key decisions
- Official sources. The app reads events, cameras, weather, borders and rest areas as GeoJSON from Slovenia’s national access point NAP (b2b.nap.si) and maps them to its own report types. Access needs an NAP account, which the user enters in the app.
- Reports expire. Each report has an expiry time and a severity level, and confirmations from other users make it more trustworthy.
- Local storage. Users, reports and messages live in a Hive database on the device. There is no server for user data, so the app works without its own backend.
- Voice alerts. Alerts can be read aloud. For now this only works on Windows.
The code is in a private repository.