Complete technical overview of the iOS app API integration with the ML matching engine
APIModels.swift
)MatchingAPIClient.swift
)https://findu-matching-production.up.railway.app
http://localhost:8000
(when DEBUG flag is set)/recommendations
- Get personalized matches/swipe
- Record swipe interactions/feedback
- Submit learning feedback/health
- Check API statusMatchingAPIClient.swift
line 18Timeout: 30 secondsRetry logic: Built-in error handlingCardsViewModel
with full API integration:
CardModel
instead of School
Discovery Phase (1-10 swipes)
Refinement Phase (11-30 swipes)
Stable Phase (31+ swipes)
Build and run the app
Check console logs
Verify API connection
No recommendations loading
MatchingAPIClient.swift
Random schools appearing
CardsViewModelAPI
not CardsViewModel
Update ios_app.swift
CardsViewModelAPI
back to CardsViewModel
Update ExploreView.swift
SwipeableCardsViewAPI
β SwipeableCardsView
CardsViewModelAPI
β CardsViewModel
Update HomeView.swift
CardsViewModelAPI
back to CardsViewModel