Engineering the complete Tripfez platform ecosystem.
A comprehensive breakdown of how Mahara designed, built, and deployed four frontend applications, a NestJS microservice backend, three major OTA integrations (Sabre, RateHawk, Seaware), an AWS OpenSearch indexing cluster, and a GPT-4o AI booking agent.
Tripfez Travel & Tours Sdn Bhd
Travel Technology Company · Malaysia
The Engineering Challenge
Tripfez needed a comprehensive, scalable travel platform from scratch - covering consumer booking (B2C), agent management (B2B CRM), corporate booking tools (OBT), and a dedicated cruise marketplace, all powered by a single unified backend with real OTA integrations and an AI agent.
The Mahara Solution
Mahara designed and built the entire Tripfez ecosystem end-to-end: a unified NestJS backend with 40+ feature modules, four distinct frontend products, AWS cloud infrastructure, OpenSearch, deep OTA integrations (Sabre GDS, RateHawk, Seaware), a GPT-4o-powered AI booking agent, transactional email automation, and Xendit payment processing.
40+
Backend Modules
4
Frontend Products
3
OTA Integrations
200+
API Endpoints
Four Specialized Applications built with React 18 & Vite.
Tripfez B2C Marketplace
Multi-product consumer travel portal for flights, hotels, cruises, and packages - featuring live search, guest checkout, and dynamic pricing.

Tripfez B2B CRM
Comprehensive agency panel for managing corporate clients, booker profiles, travel policies, booking approval flows, and revenue analytics.

Cruise Malaysia
Branded consumer portal for cruise departures in Southeast Asia - with live cabin selection, departure calendars, and Xendit payments.

Tripfez OBT
Corporate travel portal with per-company travel budget controls, flight/hotel booking flows, cost centre allocation, and pre-trip approval workflows.

Backend, OTA, AI & Cloud Specs.
Backend Platform
- NestJS monolith with 40+ feature modules
- Prisma ORM with 50+ PostgreSQL models
- JWT authentication and RBAC permissions system
- Role hierarchy: Super Admin → Admin → Company Admin → Booker → Traveller
- Throttling, rate limiting, and security hardening
- Activity audit log across all user actions
- Automated scheduled jobs (cron: backups, sync, status updates)
- Swagger API documentation at /docs
- Redis caching for session and rate limiting
- Health check and monitoring endpoints
Frontend Products
- Tripfez B2C - consumer marketplace (cruise, hotel, leisure, flights)
- Tripfez CRM - full B2B agent and admin panel
- Tripfez OBT - corporate booking tool with policy enforcement
- Cruise Malaysia - branded public cruise portal
- Shared multi-site Vite build config (VITE_SITE_MODE)
- Multilingual UI (EN / MS) with language context system
OTA Integrations
- Sabre GDS: global flight search, one-way & round-trip itineraries
- Sabre: seat map integration and ancillary services (baggage, meals)
- Sabre: fare class decoding, baggage rule SOAP parsing
- RateHawk: hotel search across 2.5M+ properties worldwide
- RateHawk: room type mapping, cancellation policy parsing, content enrichment
- Seaware (Carnival): live cruise sailing search and cabin pricing
- AWS OpenSearch: 3M+ airport and airline reference data indexed for sub-second lookup
- Unified booking abstraction layer across all OTA sources
AI Booking Agent
- GPT-4o-mini powered with OpenAI function-calling (tool use architecture)
- Natural language trip search: flights, hotels, cruises, and tours in one chat
- Automatic IATA airport code resolution from city/country name
- Real-time search via Sabre, RateHawk, Seaware within conversation
- Complete booking from chat: passenger collection → booking creation → Xendit payment link
- Booking status lookup, payment link regeneration, human escalation
- Multi-channel: WhatsApp, email, web chat (channel-specific formatting)
- Conversation persistence with sliding context window (14 messages)
- Date intelligence: sanitizes past dates, infers year from context
Booking & Commerce
- Multi-product booking engine (cruise, hotel, leisure, flights)
- Live pricing engine with SKU tiers and dynamic rules
- Full checkout flow: cabin → passengers → payment
- Installment (terms) payment flow for business users
- Xendit payment gateway integration (IDR + MYR)
- Booking lifecycle management with status machine
- Travel policy enforcement at checkout
- Pre-trip approval workflow
Infrastructure & Cloud
- AWS EC2 server setup and security hardening
- AWS OpenSearch cluster for flight, hotel, and cruise search
- Redis caching for session management and rate limiting
- PM2 ecosystem for process management and clustering
- Automated PostgreSQL backup service
- Environment-based multi-tenant deployment pipeline
- Brevo transactional email for all booking touchpoints
Ready to review technical specifications for your project?
Talk directly with our lead backend & infrastructure architects.