Skip to content

Jake#3

Open
JakeFloch wants to merge 5 commits intomainfrom
jake
Open

Jake#3
JakeFloch wants to merge 5 commits intomainfrom
jake

Conversation

@JakeFloch
Copy link
Copy Markdown
Owner

No description provided.

…ng on my end

Refactored utils/osm-api.ts for improved readability and maintainability, including better address formatting and place categorization. Updated app/(tabs)/index.tsx to use consistent code style, fixed minor style issues, and improved UI code structure. No functional changes to package-lock.json except for dependency metadata.
Introduces Supabase client setup and a new scores service for fetching food access scores. Updates .env with Supabase credentials and adds related dependencies. Refactors location fetching in explore and index tabs for improved accuracy and loading state management, and increases the OSM search radius to 10km. Cleans up Babel config formatting.
Introduces a Supabase SQL schema and PostGIS-powered RPC for storing and querying places. Adds a script to seed the Supabase 'places' table from OSM Overpass API, and integrates Supabase as an optional backend for fetching nearby places in the app. Updates the explore tab to use Supabase data if enabled, and adds related utility code and npm scripts.
Extended the Supabase 'nearby_places' function and client to support offset-based pagination and increased the hard row limit from 1000 to 3000. Updated the seed script for consistent code style and improved error handling. Enhanced the OSM API integration to log Supabase usage and improved Overpass ID parsing.
Improved formatting of the place_id assignment in fetchNearbyPlacesFromSupabase for better readability and maintainability. No functional changes were made.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant