Bus Timing App
2023
Utility
Navigating Singapore's Transit
Accessing accurate bus arrival times is a daily necessity for many. This app leverages the LTA DataMall API to provide real-time updates on bus locations and arrival estimates.
Architecture: BLoC
To handle the complexity of real-time data streams and multiple UI states (loading, error, success), the Business Logic Component (BLoC) pattern was utilized. This ensures a clear separation between the presentation layer and the data layer, making the codebase testable and scalable.
Performance Optimization
With thousands of bus stops and routes, efficient data caching and retrieval were critical. The app implements local caching strategies to reduce API calls and improve load times for frequently accessed stops.