Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Adarsh-Chaubey03/TravelGrid
/ functions
Functions
764 in github.com/Adarsh-Chaubey03/TravelGrid
⨍
Functions
764
◇
Types & classes
18
↓ 75 callers
Function
useTheme
()
client/src/context/ThemeContext.jsx:5
↓ 64 callers
Function
asyncHandler
(requestHandler)
Server/utils/asyncHandler.js:1
↓ 28 callers
Function
useAuth
()
client/src/context/AuthContext.jsx:6
↓ 20 callers
Method
bind
()
client/src/hooks/useFluidCursor.js:176
↓ 14 callers
Function
compileShader
(type, source, keywords)
client/src/hooks/useFluidCursor.js:198
↓ 14 callers
Method
getRandomTemplate
(templates)
client/src/utils/fastTravelPlanner.js:621
↓ 14 callers
Function
scaleByPixelRatio
(input)
client/src/hooks/useFluidCursor.js:1183
↓ 9 callers
Function
iso2ToFlagEmoji
(iso2)
client/src/pages/VisaChecker.jsx:36
↓ 8 callers
Function
useWishlist
()
client/src/context/WishlistContext.jsx:49
↓ 7 callers
Function
cn
(...inputs)
client/src/lib/utils.js:4
↓ 6 callers
Function
createFBO
(w, h, internalFormat, format, type, param)
client/src/hooks/useFluidCursor.js:682
↓ 6 callers
Function
getSupportedFormat
(gl, internalFormat, format, type)
client/src/hooks/useFluidCursor.js:95
↓ 5 callers
Function
addToWishlist
(item)
client/src/context/WishlistContext.jsx:18
↓ 5 callers
Function
analyzeSentiment
(text)
Server/controller/chatbotController.js:8
↓ 5 callers
Function
countryNameToISO
(name)
client/src/pages/VisaChecker.jsx:143
↓ 5 callers
Function
updateActivity
(index, value)
client/src/pages/QRTripSharing.jsx:44
↓ 4 callers
Method
analyzeSentiment
(text)
Server/utils/nlpProcessor.js:4
↓ 4 callers
Function
formatCurrency
(amount, currency = 'USD')
client/src/components/TripComparisonDashboard.jsx:77
↓ 4 callers
Function
generateColor
()
client/src/hooks/useFluidCursor.js:1129
↓ 4 callers
Function
getCategoryData
(category)
client/src/pages/TravelForum.jsx:427
↓ 4 callers
Function
getCookieOptions
()
Server/controller/authController.js:26
↓ 4 callers
Function
getUniqueOptions
(key)
client/src/pages/TravelPackages.jsx:131
↓ 4 callers
Function
handleFilterChange
(filterType, value)
client/src/components/TravelPlanGenerator/AIRecommendationEngine.jsx:406
↓ 4 callers
Function
handleInputChange
(field, value)
client/src/pages/QRTripSharing.jsx:26
↓ 4 callers
Function
handleSegmentChange
(index, field, value)
client/src/components/TripComparisonDashboard.jsx:35
↓ 4 callers
Function
isInWishlist
(id)
client/src/context/WishlistContext.jsx:33
↓ 4 callers
Function
removeFromWishlist
(id)
client/src/context/WishlistContext.jsx:28
↓ 4 callers
Function
sendEmail
(to, subject, html, text, retries = 3)
Server/utils/emailService.js:19
↓ 4 callers
Function
toRad
client/src/components/ARExperience.jsx:39
↓ 4 callers
Function
toRad
(deg)
client/src/pages/ItineraryMapPage.jsx:36
↓ 4 callers
Function
useDashboardData
()
client/src/context/DashboardDataContext.jsx:9
↓ 3 callers
Method
calculateCarbonFootprint
* Calculate carbon footprint for a transport option * @param {Object} transportOption - The transport option * @returns {number} Carbon footprin
Server/services/multiModalPlanner.js:84
↓ 3 callers
Method
calculateDynamicPrice
* Calculate dynamic pricing based on various factors * @param {Object} transportOption - The transport option * @param {Date} bookingDate - When
Server/services/multiModalPlanner.js:41
↓ 3 callers
Function
classifyIntent
(text)
Server/controller/chatbotController.js:16
↓ 3 callers
Function
createDoubleFBO
(w, h, internalFormat, format, type, param)
client/src/hooks/useFluidCursor.js:728
↓ 3 callers
Method
extractEntities
(text)
Server/utils/nlpProcessor.js:69
↓ 3 callers
Function
formatDuration
(minutes)
client/src/components/TripComparisonDashboard.jsx:84
↓ 3 callers
Method
generateAccommodation
(destination, day, region)
client/src/utils/aiTravelPlanner.js:387
↓ 3 callers
Method
generateMeals
(destination, interests, day, region)
client/src/utils/aiTravelPlanner.js:342
↓ 3 callers
Function
generateToken
(userId, role = 'user')
Server/controller/authController.js:13
↓ 3 callers
Method
generateTransportation
(destination, day, region)
client/src/utils/aiTravelPlanner.js:392
↓ 3 callers
Method
getOptimizedItinerary
* Get optimized itinerary based on route segments and preferences * @param {Array} routeSegments - Array of route segments * @param {Object} pre
client/src/services/multiModalService.js:42
↓ 3 callers
Function
getTransportIcon
(type)
client/src/components/TripComparisonDashboard.jsx:90
↓ 3 callers
Method
getTransportOptions
* Get transport options between two locations * @param {string} origin - Starting location * @param {string} destination - Ending location *
client/src/services/multiModalService.js:25
↓ 3 callers
Function
googleLogin
(token)
client/src/context/AuthContext.jsx:166
↓ 3 callers
Function
handleFeatureCardClick
(route)
client/src/components/Chatbot.jsx:95
↓ 3 callers
Function
handleMenuClick
(callback)
client/src/components/user/ProfileDropdown.jsx:48
↓ 3 callers
Function
handlePillClick
(route)
client/src/components/Chatbot.jsx:89
↓ 3 callers
Function
playSong
(song)
client/src/pages/Music.jsx:118
↓ 3 callers
Function
sanitizeData
(data)
Server/middleware/enhancedSanitizationMiddleware.js:18
↓ 3 callers
Function
setStops
(stops)
client/src/context/MapContext.jsx:12
↓ 3 callers
Function
stopSong
()
client/src/services/MoodToggle.jsx:156
↓ 3 callers
Function
updatePointerDownData
(pointer, id, posX, posY)
client/src/hooks/useFluidCursor.js:1093
↓ 3 callers
Function
updatePointerMoveData
(pointer, posX, posY, color)
client/src/hooks/useFluidCursor.js:1105
↓ 3 callers
Function
updateStop
(index, newStop)
client/src/pages/ItineraryMapPage.jsx:17
↓ 2 callers
Method
classifyIntent
(text)
Server/utils/nlpProcessor.js:122
↓ 2 callers
Function
countryByName
(name)
client/src/pages/VisaChecker.jsx:149
↓ 2 callers
Function
createProgram
(vertexShader, fragmentShader)
client/src/hooks/useFluidCursor.js:180
↓ 2 callers
Function
createTransporter
()
Server/utils/emailService.js:4
↓ 2 callers
Function
downloadChecklist
(payload)
client/src/pages/VisaChecker.jsx:249
↓ 2 callers
Method
estimateDistance
* Estimate distance between two locations (simplified) * @param {string} origin - Starting location * @param {string} destination - Ending locat
Server/services/multiModalPlanner.js:124
↓ 2 callers
Function
extractEntities
(text)
Server/controller/chatbotController.js:12
↓ 2 callers
Function
fetchForumTopics
()
client/src/pages/TravelForum.jsx:200
↓ 2 callers
Function
fetchInfo
(name)
client/src/pages/VisaChecker.jsx:423
↓ 2 callers
Method
findTransportOptions
* Find all transport options between origin and destination * @param {string} origin - Starting location * @param {string} destination - Ending
Server/services/multiModalPlanner.js:16
↓ 2 callers
Function
formatCurrency
(amount, currency)
client/src/pages/currencyconverter.jsx:105
↓ 2 callers
Function
formatCurrency
(amount, currency)
client/src/pages/EnhancedCurrencyConverter.jsx:254
↓ 2 callers
Function
formatDateTime
(isoString, type = 'time')
client/src/components/ui/FlightCard.jsx:21
↓ 2 callers
Function
formatTime
(time)
client/src/components/TravelMoodMusicPlayer/TravelMoodMusicPlayer.jsx:138
↓ 2 callers
Function
formatTime
(time)
client/src/pages/Music.jsx:204
↓ 2 callers
Method
generateMapLocations
(destination, day, region, interests)
client/src/utils/aiTravelPlanner.js:397
↓ 2 callers
Function
generatePersonalizedResponse
(userId, message, context)
Server/controller/chatbotController.js:25
↓ 2 callers
Function
generateRecommendations
( destination, interests, travelStyle )
client/src/components/TravelPlanGenerator/AITravelPlanner.jsx:261
↓ 2 callers
Method
generateTravelPlan
(destination, numberOfDays, interests, startDate)
client/src/utils/aiTravelPlanner.js:439
↓ 2 callers
Function
generateVerificationCode
()
Server/controller/emailVerificationController.js:7
↓ 2 callers
Function
getCategoryColor
(category)
client/src/components/TravelPlanGenerator/SmartBudgetOptimizer.jsx:433
↓ 2 callers
Function
getCategoryIcon
(category)
client/src/components/TravelPlanGenerator/SmartBudgetOptimizer.jsx:420
↓ 2 callers
Function
getOrCreateConversation
(req, res)
Server/controller/chatbotController.js:157
↓ 2 callers
Function
getPackageInterests
(pkg)
client/src/components/TravelPlanGenerator/PackagePlanGenerator.jsx:58
↓ 2 callers
Method
getRandomTemplates
(templates, count)
client/src/utils/fastTravelPlanner.js:626
↓ 2 callers
Method
getRegion
(destination)
client/src/utils/aiTravelPlanner.js:42
↓ 2 callers
Function
getRelevantMusic
(query, limit = 5)
Server/controller/chatbotController.js:638
↓ 2 callers
Function
getRelevantPackages
(query, limit = 5)
Server/controller/chatbotController.js:597
↓ 2 callers
Function
getResolution
(resolution)
client/src/hooks/useFluidCursor.js:1174
↓ 2 callers
Function
getStatusIcon
(status)
client/src/components/TravelPlanGenerator/AIPlanningInterface.jsx:237
↓ 2 callers
Function
getTodayDate
()
client/src/pages/TravelPlanGenerator.jsx:74
↓ 2 callers
Function
getUniforms
(program)
client/src/hooks/useFluidCursor.js:189
↓ 2 callers
Function
getUserContext
(userId)
Server/controller/chatbotController.js:572
↓ 2 callers
Function
gracefulShutdown
(signal)
Server/index.js:507
↓ 2 callers
Function
handleChange
(field, value)
client/src/components/recommendation.jsx:20
↓ 2 callers
Function
handleResendVerification
()
client/src/pages/Login.jsx:59
↓ 2 callers
Function
handleSongPlay
(songSrc, songName)
client/src/services/MoodToggle.jsx:180
↓ 2 callers
Function
initFramebuffers
()
client/src/hooks/useFluidCursor.js:610
↓ 2 callers
Function
isWishlisted
(id)
client/src/components/Home/FeaturedPackages.jsx:76
↓ 2 callers
Function
logout
()
client/src/context/AuthContext.jsx:188
↓ 2 callers
Method
performanceTest
()
client/src/utils/fastTravelPlanner.js:993
↓ 2 callers
Function
removeActivity
(activity)
client/src/components/AITravelChecklist.jsx:80
↓ 2 callers
Function
removeItem
(id)
client/src/components/TravelPackingChecklist/PackingChecklist.jsx:448
↓ 2 callers
Function
resendVerification
()
client/src/context/AuthContext.jsx:237
↓ 2 callers
Function
resizeCanvas
()
client/src/hooks/useFluidCursor.js:843
next →
1–100 of 764, ranked by callers