From 9aecf3a523bcd379a5afc66bb26d181361154264 Mon Sep 17 00:00:00 2001 From: JeremyJamesL Date: Tue, 17 Dec 2024 20:02:52 +0000 Subject: readme --- README.md | 31 ++++++------------------------- 1 file changed, 6 insertions(+), 25 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 7870837..fd21a9a 100644 --- a/README.md +++ b/README.md @@ -1,32 +1,13 @@ # London pub search +[Website](https://pubs.jezl.xyz) + Better search for every pub within the M25. Current searches for pubs in the UK are a bit rubbish. This takes inspiration from this [original Algolia project](https://preview.algolia.com/geo-search/). -## Process - -1. Search for all pubs within the M25 and add to an Algolia index, get lat and long at the same time -2. Google sucked at this, so used Wyre api -3. Uploaded to Algolia -4. Limite the map to London using restriction -5. Draw a rectangle -6. Listen to rectangle resize events -7. Query Algolia with the bounds -8. Limit response fields, we only really need the geoloc -9. Remove all markers when looking the markers -10. Debounce the query - -## To do: - -- [x] Get all pubs using an API -- [x] Init map all one function -- [x] City of London is missing -- [] Replace null values for lat,lon with real data -- [] Don't return \_highlightResult? -- [x] Run search on first load -- [] bundle all remove markers, query and result render into one function -- [] maxmapspace and initialrectbounds are the wrong way around -- [] Sort out generatemap arguments +## Build with -![alt text](image.png) +- [Google Maps API](https://developers.google.com/maps/documentation/javascript) for the map +- [Algolia](www.algolia.com) for map search functionality and text search +- [Tailwind](https://tailwindcss.com/) CSS -- cgit v1.2.3