You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
set up connection between the long and lat from the search field and render the corresponding airtable api data to results page listings:
1. research whether to use postcode logic or long/lat logic
2. retrieve correct data from airtable (dummy data)
3. write some goddamn tests!
pseudo code:
1. retrieve postcode which was entered via searchfield
2. fetch geolocation api to convert postcode to long lat
3. fetch airtable to retrieve all results data
4. filter retrieved listing results data by longitude/ latitude using the haversine formula to filter/reduce by a radius of 50km (on client side) -> this will result in an array of the listings within radius
set up connection between the long and lat from the search field and render the corresponding airtable api data to results page listings:
pseudo code:
The text was updated successfully, but these errors were encountered: