How blazekwastaken/mpk-lodz-parser-net works
Project type and purpose
• This is a .NET class‐library/console‐tool (“mpk-lodz-parser-net”) whose job is to fetch, parse, model and persist public-transport timetable and vehicle data for the city of Łódź (MPK).
• There are no UI layers. It is essentially an open-source parser/tool that exposes managers to consume timetable data and persists it via an Entity Framework Core context.
File structure
• Top level:
• mpk-lodz-parser-net.infrastructure
• mpk-lodz-parser-net (core)
• infrastructure:
• Interfaces (IStopRepository, IVehicleRepository)
• Model (EF entities: Stop, Vehicle)
• Repositories (StopRepository, VehicleRepository)
• MpkContext.cs (DbContext)
• core project:
• Helpers/RequestHelper.cs (HTTP client wrapper)
• Managers (DepartureManager, StopManager, TimetableManager, VehicleManager)
• Model (Departure, Schedule)
• No frontend or microservices; it’s a single solution with two projects (layers).
README for additional insights
• The README is minimal; no architectural hints beyond the name. We infer from code that it talks to an external MPK API, parses JSON/XML, exposes typed models and persists them.