Spaces:
Sleeping
Sleeping
Commit History
-
Enhance /rides endpoint with fuzzy destination matching and intelligent sorting
- Add levenshteinSimilarity function for fuzzy location matching (80%+ threshold) - Add calculateDestinationMatch function to compute destinationMatchScore (0-100) and routePassesThrough - Update sorting: destination match % -> distance from pickup -> distance from destination - Add destinationMatchScore and routePassesThrough fields to ride responses - Support for Islamabad/Isb fuzzy matching and similar variations - Maintain backward compatibility with distanceKm field5299961
-
Update vehicle field validation
0108536
-
Update ride location filtering
72f72d4 -
Initial backend project state
c5d6a60
-
Deploy Carpool backend to Hugging Face Space with Firebase integration
35dfdc7
-
Fixed merge conflicts in app.js and rideController.js
532c284 -
Full backend code - complete project
486340a