- Restore packages from Nuget
- Code developed in .net Core 5 web-Api
- RouteStopDa holds generated Data and returns results from Controller
- Refer Excel file, "Bus stop schedules.xlsx" for self visualizing the data, which was populated from RouteStopDa file
- Add Caching layer:
- Cache Top two Schedules for all route stops given a Time.
- Clean up past entries from cache
- Use BackgroundService to populate Cache
- Add more test coverage
- SignalR: Use Timer / BackgroundService to auto send new Schedules to connected clients on a 15 minute timer.
- Remove disconnected clients from SignalR Groups (by StopId)
- Use a better JS Framework
-
Route: A Route
- Model name: RouteRm(.cs)
-
Stop: A Bus stop
- Model name: StopRm(.cs)
-
RouteStop: A Route that services a stop.
- Model name: RouteStopRm(.cs)
- Sample Data generated using above Model
Route 1 2 3 Stop 1 R1S1 R2S1 R3S1 Stop 2 R1S2 R2S2 R3S2
-
RouteStopSchedulesRm: A model for GET response for a stop Id to return routes.