TravelHub
Multi-Role Travel Booking & Management Platform
TravelHub Architectural Diagram
TravelHub is a full-stack travel booking and management platform developed as a university group project. My main contributions were the Hotel Owner module and AI chatbot.
Challenge & Ecosystem Context
TravelHub is a full-stack travel booking and management platform developed as a university group project. My main contributions were the Hotel Owner module and AI chatbot.
TravelHub is a full-stack travel booking and management platform developed as a university group project. My main contributions were the Hotel Owner module and AI chatbot.
Key Architectural Features
End-to-end Hotel Owner Module with admin-approval workflow, room/amenity management, and Supabase Storage image uploads.
Comprehensive dashboard providing real-time occupancy insights and rating analytics.
AI travel assistant powered by a RAG pipeline (LangChain, Groq LLM, ChromaDB) with intent detection for live backend queries.
Event-driven auto-sync service and real-time USD/LKR currency conversion capabilities.
Spring Security (JWT) authentication with role-based access for tourists, agencies, hotel owners, and admins.
Challenges & Engineering Solutions
System Failure Mode Under Peak Load
Integrating diverse system architectures (Java Spring Boot and Python FastAPI) while ensuring real-time consistency and reliable natural language querying against a dynamic relational database.
Architectural Strategy & Resolution
Leveraged a Retrieval-Augmented Generation (RAG) pipeline combined with an event-driven auto-sync service, allowing the AI to query real-time data seamlessly across disparate microservices.
Spring Boot handles core booking and management logic with Spring Security (JWT) and Spring Data JPA; FastAPI serves the AI assistant and ML services. Data is persisted in PostgreSQL with Flyway migrations, vector embeddings in ChromaDB, and media assets in Supabase Storage.
Performance & Benchmarks
Tech Stack Composition
Components and modules engineered strictly with type safety, minimal dependency footprints, and production-grade build pipelines.
Links & Source Verification
Interactive Demo
Experience the application in production with live cloud endpoints.
GitHub Repository
Inspect commit history, test suites, architecture schemas, and Docker configs.
Writeup In Progress
Technical blog article currently undergoing editorial review.