RentHub
Channel manager for short-term rentals (AdminVilla)
7 platforms, 7 different APIs
Jabama, Otaghak, Homsa, Jajiga, Mihmansho, Shab and Snapp each authenticate differently (OTP, signed requests, OAuth 2.0), and some have no usable API. I defined one service interface with an adapter per platform, using a headless browser where no API exists, so the rest of the system never depends on a specific site.
Slow, unreliable bulk updates
Calendar, price and discount changes run in Asynq workers with concurrent requests and retries; each task carries its API version.
Changing without breaking clients
Versioned the API up to v3 (Jajiga moved to its official PMS API over OAuth 2.0) while v1 and v2 kept working; clean architecture, OpenAPI docs and tests on critical paths.
Stack
Go · Fiber · GORM · PostgreSQL · Redis · Asynq · go-rod · OAuth 2.0 · OpenAPI




