Yatra-Vritta is an innovative AI-powered travel platform designed to streamline and enhance various specialized travel needs, including medical tourism, Meetings, Incentives, Conferences, and Exhibitions (MICE), and destination weddings. By integrating advanced AI and machine learning capabilities with real-time data, the platform ensures a seamless and personalized travel experience for users across different sectors. The core objective of Yatra-Vritta is to provide a unified and intelligent solution that caters to individuals seeking medical treatments abroad, corporate professionals attending international conferences, and couples planning their dream destination weddings.
At the heart of Yatra-Vritta lies an intelligent recommendation system that leverages data analytics, machine learning algorithms, and user preferences to offer the most relevant options for hotels, travel routes, local attractions, and vendor services. The system is designed to provide real-time itinerary updates, vendor management, and emergency assistance features to ensure a hassle-free experience for travelers. The AI-powered vendor matching system optimizes service selection based on user needs, budget constraints, and location preferences.
https://yatra-vritta.vercel.app/
https://drive.google.com/drive/folders/1xv-HhsFviRTTgTCX4G71v2_dJ_u8YetD
https://drive.google.com/file/d/1Fv4EMc9-LBOLiV_7CD2piDvq5XL_v3lW/view?usp=drive_link
Medical Tourism Recommender FrontEnd:-
Medical Tourism Recommendations output:
MICE Recomendation FrontEnd:
MICE Recomendation output:
Destination Wedding Recomendation FrontEnd:
Destination Wedding Recomendation Output:
Hotel Explorer for Events : frontend :
output:
Sightseeing Explorer for Destination Weddings And MICE:
Frontend:
output:
Airport And Airplane Booking Page: FrontEnd:
Output:
Medical Tourism Explorer Page:
FrontEnd:
Output:
MICE Planner Explorer Map:
Frontend:
Output:
Wedding Planner APP: FrontEnd:
HomePage:
Budget Planning Tool:
Wedding Vendor:
Wedding Venue Page:
Order Placing Page:
Itineary Recommandations :
To deliver its unique value proposition, Yatra-Vritta is structured around essential platform features that facilitate user management, booking services, payment security, and vendor collaborations. The user management system incorporates multi-factor authentication, ensuring secure access for different stakeholders such as medical professionals, event organizers, wedding planners, and travelers. The integrated booking engine provides real-time availability and pricing for flights, hotels, and event venues, enabling seamless reservations. Secure payment processing mechanisms, supporting multiple payment methods, ensure compliance with financial regulations and streamline transaction management.
A dynamic vendor and partner management system enables users to browse and select from a wide range of service providers, including hospitals, conference centers, wedding venues, and travel agencies. This system supports contract management, negotiations, and vendor performance tracking. Additionally, the platform features a centralized dashboard that provides real-time insights into itinerary status, vendor performance, and booking trends. In-app communication tools facilitate collaboration between different stakeholders, enhancing coordination and efficiency.
Yatra-Vritta integrates a sophisticated medical tourism module, catering to individuals seeking healthcare services abroad. The platform hosts an extensive medical specialist database, enabling users to filter hospitals and clinics based on factors such as location, specialty, accreditation, and patient reviews. Each medical provider profile includes details about certifications, success rates, and patient testimonials, helping users make informed decisions.
To further assist medical travelers, the platform features a treatment and procedure planner that bundles essential services such as pre-operative consultations, surgical procedures, rehabilitation programs, and post-operative care. Telemedicine capabilities allow users to consult with specialists remotely for pre-travel screenings and post-procedure follow-ups. The secure medical records and document management system facilitates the safe exchange of medical documents, prescriptions, and test results between patients and authorized professionals.
For MICE travelers, Yatra-Vritta offers an advanced event management system that simplifies the scheduling of conferences, workshops, and networking events. Users can create, schedule, and manage event sessions while automating attendee registration and badge generation. The platform also features a venue and supplier sourcing tool that provides access to a comprehensive database of conference halls, hotels, and audiovisual suppliers. Through a structured proposal process, event organizers can request quotes from multiple venues and service providers to secure the best deals.
A robust attendee management system allows for seamless RSVP tracking, registration processing, and ticketing. Interactive seat allocation tools enhance event organization, ensuring a smooth experience for attendees. Additionally, the platform supports QR code-based check-ins, significantly reducing wait times and enhancing security. Real-time data on attendee statistics and event engagement helps organizers optimize future events and improve user experiences.
Yatra-Vritta's destination wedding module provides couples and wedding planners with a comprehensive toolkit for event coordination. The venue search feature allows users to explore various wedding destinations, including beaches, resorts, and banquet halls, complete with photo galleries and virtual tours. A detailed wedding planning checklist assists users in organizing essential aspects such as catering, florists, photographers, and entertainment.
To streamline financial planning, the platform includes budgeting tools that estimate costs, track payments, and schedule vendor deposits. Guest management features facilitate RSVP tracking, seat arrangement, and group booking options for travel and accommodations. Vendor coordination tools automate key event timelines, ensuring seamless communication between decorators, stylists, caterers, and DJs. By integrating AI-powered insights, the platform recommends personalized wedding themes, venues, and packages based on user preferences.
The backend of Yatra-Vritta is built using Node.js, Express.js, and Flask, integrating various services to support different travel and event functionalities.
app.js
β The primary backend entry point that connects services.config/generateToken.js
β Manages user authentication token generation.db.js
β Handles database connections and queries.middleware/authMiddleware.js
β Middleware for user authentication and access control.models/User.js
β Defines user schema and database interactions.routes/
β Contains API routes:MICE_routes.js
β Handles event-related queries.Medical_routes.js
β Manages medical tourism API endpoints.Wedding_routes.js
β Manages wedding planning APIs.
services/userService.js
β Manages user-related functionalities.services_backend/
β Contains core service scripts:medicalbackend.py
β Handles AI-powered medical tourism recommendations.mice_backend.py
β Manages MICE event organization.wedding_backend.py
β Processes wedding-related requests.
- Handles sightseeing queries and integrations with tourism APIs.
- Contains:
controllers/authcontroller.js
β Manages sightseeing authentication.server.js
β Handles sightseeing backend API requests.
- AI-powered chatbot backend using Python.
- Located at
virtual assistant/backend.py
to provide real-time travel guidance.
Yatra-Vritta includes a robust event management system built with Next.js and TypeScript for seamless event planning.
Wedding-app/
β Dedicated wedding planning system.app/
β Core business logic for event creation and management.api/
β API endpoints for:- Flight booking (
searchFlights.ts
,bookFlight.ts
,modifyBooking.ts
) - Sightseeing reservations (
searchSightseeing.ts
,bookSightseeing.ts
). - Payment Integrations via Stripe and Clerk.
- Flight booking (
components/
β UI components for event planning (Filters, Forms, Checkout system).
- Includes:
- Venue selection tools (
WeddingVenue.jsx
,WeddingResort.jsx
). - Budget planners (
Budget.jsx
). - Vendor management (
WeddingVendor.jsx
,Caterers.jsx
,MakeupArtists.jsx
).
- Venue selection tools (
- Front-end is React-based (
Wedding_Frontend/
).
The frontend supports multiple services, with implementations using Python.
front.py
β Main application interface.medicalfrontend.py
β UI for medical tourism recommendations.mice_frontend.py
β MICE event management front-end.virtual_assistant.py
β AI-powered chatbot front-end.wedding_frontend.py
β UI for wedding planning.
The AI/ML layer powers personalized recommendations for Medical Tourism, MICE, and Destination Weddings.
- Medical Tourism AI Model (
models/models_medical/medical_tourism_model.pkl
). - MICE Event Predictions (
models/models_mice/city_ranking_model.pkl
). - Wedding Destination AI Rankings (
models/models_wedding/wedding_ranking_model.pkl
).
- AI-training datasets stored in
models/dataset/
. - Score-based ranking for medical, MICE, and wedding destinations (
dataset/score/
).
Yatra-Vritta follows a test-driven development (TDD) approach, with test scripts available in test/
and test_services/
.
- Airline Booking Tests (
test/airlines/airline_back.py
). - MICE Event Planning Tests (
test/mice/backend.py
). - Medical Tourism Prediction Accuracy Tests (
test_services/models_medical/
).
The project includes in-depth documentation for travel and event-based intelligence.
- Medical Tourism Whitepaper (
Implementation Documentation/Destination_Based_Travelling Medicaltourism.pdf
). - MICE Event Planning Blueprint (
Implementation Documentation/Destination_Based_Travelling-mice.pdf
). - Destination Wedding Planning Guide (
Implementation Documentation/Destination_Based_Travelling-destination-wedding.pdf
).
This guide provides step-by-step instructions to set up the Yatra-Vritta platform, including backend services, frontend UI, AI models, and database configurations. Follow the steps below to ensure a smooth installation.
# π Yatra-Vritta: Setup Guide
## π Prerequisites
Ensure you have the following dependencies installed on your system:
- **Node.js** (v16 or later) & **npm** (for backend services)
- **Python** (v3.8 or later) & **pip** (for AI models and recommendation engines)
- **PostgreSQL / MongoDB** (for database management)
- **Docker** (for containerized deployment) *(optional)*
- **Cloud Service (AWS/GCP/Azure)** *(optional for production deployments)*
- **Redis** (for caching) *(optional for optimizing API performance)*
- **Git** (for version control)
---
## βοΈ 1. Clone the Repository
```bash
# Clone the Yatra-Vritta repository
git clone https://github.com/Yatra-Vritta/Yatra-Vritta.git
# Navigate into the project directory
cd Yatra-Vritta
Navigate to the backend directory and install dependencies.
# Move to backend directory
cd Backend
# Install required dependencies
npm install
Create a .env
file in the Backend/ directory with the following variables:
PORT=5000
DB_URI=mongodb+srv://<your_mongo_db_connection>
JWT_SECRET=<your_jwt_secret>
CLOUDINARY_URL=<your_cloudinary_url>
Start the Backend Server
node app.js
The backend API should now be running on http://localhost:5000
.
Navigate to the frontend directory and install dependencies.
# Move to frontend directory
cd frontend
# Install required dependencies
npm install
Start the Frontend Server
npm start
The React-based frontend should now be available at http://localhost:3000
.
Navigate to the models/ directory to set up AI-powered recommendations.
# Move to the AI model directory
cd models
# Install required Python dependencies
pip install -r requirements.txt
Train or load AI models:
# Load pre-trained medical tourism AI model
python models_medical/medical_tourism_model.pkl
The event management system runs on Next.js (TypeScript).
# Move to event management directory
cd event_management
# Install dependencies
npm install
Start Event Management System
npm run dev
This should launch the event planner at http://localhost:3001
.
# Move to wedding planner directory
cd event_management/Wedding-app
# Install dependencies
npm install
Start the Wedding Planner
npm start
This module should now be accessible at http://localhost:3002
.
# Move to sightseeing API directory
cd Backend/sightseeing-backend
# Install dependencies
npm install
Start the Sightseeing API
node server.js
If youβre using MongoDB, ensure you have a running instance and update .env
:
DB_URI=mongodb+srv://your_username:your_password@cluster.mongodb.net/database_name
For PostgreSQL, create a database:
CREATE DATABASE yatra_vritta;
Update .env
:
DATABASE_URL=postgresql://username:password@localhost:5432/yatra_vritta
Run database migrations:
npx prisma migrate dev --name init
The AI-powered chatbot requires Python and Flask.
# Move to virtual assistant directory
cd models/custom virtual Assistant
# Install dependencies
pip install -r requirements.txt
# Start the assistant
python backend.py
The virtual assistant should now be accessible at http://localhost:5003
.
Run backend tests:
cd Backend
npm test
Run frontend tests:
cd frontend
npm test
Run AI model tests:
cd models
pytest
To containerize the project, use Docker Compose.
# Move to project root directory
cd Yatra-Vritta
# Start all services using Docker
docker-compose up --build
This will start:
- Backend on
http://localhost:5000
- Frontend on
http://localhost:3000
- Event System on
http://localhost:3001
- Wedding Planner on
http://localhost:3002
# SSH into your AWS instance
ssh ubuntu@your-server-ip
# Clone the repository
git clone https://github.com/Yatra-Vritta/Yatra-Vritta.git
# Install Node.js and dependencies
cd Yatra-Vritta/Backend
npm install
# Start the backend
node app.js
cd frontend
vercel deploy
cd event_management
railway up
Here is the updated README with properly formatted GitHub Markdown syntax, ensuring that all formulas, equations, and tables display correctly. This version is optimized for direct appending to your project.
# π§ AI-Powered Ranking Engine for Smart Travel Recommendations
## **π Overview**
Yatra-Vritta incorporates an **AI-driven ranking system** to provide intelligent recommendations for **Medical Tourism, MICE (Meetings, Incentives, Conferences, and Exhibitions), and Destination Weddings**. This system employs **machine learning techniques, multi-criteria decision-making models, and real-time data analysis** to dynamically rank global destinations.
### **πΉ Key AI Techniques Used**
- **Weighted Score Computation** β Assigns importance to different ranking factors.
- **Min-Max Normalization** β Standardizes data across different metrics.
- **K-Nearest Neighbors (KNN) Imputation** β Handles missing data using AI.
- **Regression-Based Predictions** β Predicts missing values when necessary.
- **AI-Based Trend Forecasting** β Predicts emerging travel destinations.
---
## **1οΈβ£ Medical Tourism AI Ranking Model**
### **π Data Collection**
Medical tourism data is sourced from:
- **World Bank API** β Healthcare expenditure, hospital availability, GDP.
- **OECD Economic Indicators** β Business environment and stability scores.
- **United Nations World Tourism Organization (UNWTO)** β International tourism data.
Each country is represented as a **feature matrix**:
```math
X \in R^{N \times M}
Where:
- ( N ) = Number of countries
- ( M ) = Number of key medical indicators
Each country receives a Medical Tourism Score (S_i) calculated as:
Where:
- ( H_i ) = Hospital Beds per 1,000 people
- ( E_i ) = Healthcare Spending per Capita (USD)
- ( G_i ) = GDP per Capita (USD)
- ( T_i ) = Annual Tourist Arrivals (millions)
- ( B_i ) = Ease of Business Score
- ( S_i ) = Safety Index (Low Crime Rate)
Assigned Weights:
To standardize values:
- K-Nearest Neighbors (KNN) Imputation:
$$X^{(impute)}_{ij} = \frac{1}{k} \sum_{n \in N(i)} X_{nj}$$ - Regression-Based Predictions:
$$X_{ij} = \beta_0 + \sum_{k=1}^{M} \beta_k X_{ik} + \epsilon_i$$
Country | Medical Score | Hospital Beds | Healthcare Spending (USD) |
---|---|---|---|
Thailand | 0.92 | 2.1 | 850 |
India | 0.89 | 1.5 | 600 |
Turkey | 0.85 | 2.8 | 1200 |
Mexico | 0.83 | 1.7 | 900 |
South Korea | 0.81 | 12.3 | 4500 |
- World Bank API β Business environment, ease of setting up operations.
- International Air Transport Association (IATA) β Global connectivity data.
- UNWTO β International arrivals and conference-related statistics.
Where:
- ( B_i ) = Ease of Doing Business Score
- ( I_i ) = GDP per Capita
- ( S_i ) = Safety Index
- ( A_i ) = International Air Passengers
- ( L_i ) = Annual Tourist Arrivals
Weights:
Country | MICE Score | GDP per Capita | Ease of Business Score |
---|---|---|---|
Singapore | 0.94 | $65,000 | 85.5 |
Dubai, UAE | 0.91 | $42,000 | 78.2 |
USA | 0.89 | $76,000 | 79.3 |
UK | 0.87 | $49,000 | 81.2 |
Germany | 0.85 | $52,000 | 80.1 |
- World Bank API β GDP, safety index, ease of business.
- IATA β International flight accessibility.
- UNWTO β Destination popularity and tourism demand.
Where:
- ( T_i ) = Tourist Arrivals (millions)
- ( B_i ) = Ease of Business Score
- ( G_i ) = GDP per Capita
- ( A_i ) = International Air Passengers
- ( S_i ) = Safety Index (Low Crime Rate)
Weights:
Country | Wedding Score | Tourist Arrivals | Safety Index |
---|---|---|---|
Italy | 0.95 | 65M | 8.2 |
France | 0.92 | 89M | 8.0 |
Mexico | 0.90 | 45M | 7.5 |
Greece | 0.88 | 33M | 8.4 |
Bali | 0.86 | 20M | 8.1 |
The Yatra-Vritta project is a pioneering AI-driven platform that integrates Medical Tourism, MICE (Meetings, Incentives, Conferences, Exhibitions), and Destination Weddings into a unified, intelligent travel solution. By leveraging machine learning, data analytics, and modular microservices architecture, it provides seamless booking, vendor management, secure payments, and AI-based personalized recommendations. The platform efficiently handles real-time itinerary updates, medical treatment planning, event scheduling, and wedding coordination, ensuring a smooth and tailored experience for users across different domains.
With a structured weighted scoring model, the system dynamically ranks destinations based on business infrastructure, medical quality, accessibility, affordability, and safety. Advanced AI techniques such as K-Nearest Neighbors (KNN) imputation, regression-based predictions, and min-max normalization ensure accuracy, even with incomplete data. The platform is designed with a scalable cloud-based infrastructure and follows strict security and compliance measures, including HIPAA, GDPR, and PCI-DSS regulations for medical and financial data protection.
The modular MVP-driven development approach ensures that each vertical can be expanded independently, starting with essential booking and vendor management features before introducing advanced AI personalization and analytics. By combining travel, healthcare, corporate events, and luxury wedding planning under a single AI-powered ecosystem, Yatra-Vritta stands as an industry-first innovation, revolutionizing smart travel and event planning with cutting-edge AI solutions.