{"id":15705593,"url":"https://github.com/thorwebdev/expo-supa-legend-state","last_synced_at":"2025-10-30T01:37:42.978Z","repository":{"id":254412299,"uuid":"844426207","full_name":"thorwebdev/expo-supa-legend-state","owner":"thorwebdev","description":"Local-first Expo App with LegendState and Supabase sync.","archived":false,"fork":false,"pushed_at":"2024-09-27T05:02:40.000Z","size":1257,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-19T10:12:29.294Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thorwebdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-19T08:31:10.000Z","updated_at":"2024-10-13T10:36:51.000Z","dependencies_parsed_at":"2024-08-23T10:04:47.853Z","dependency_job_id":"6547209c-ce73-4469-9163-0f3a3128e9c9","html_url":"https://github.com/thorwebdev/expo-supa-legend-state","commit_stats":{"total_commits":23,"total_committers":2,"mean_commits":11.5,"dds":0.08695652173913049,"last_synced_commit":"009e9dd4c95054e8d97d25c837ffd986a4be0639"},"previous_names":["thorwebdev/expo-supa-legendstate"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorwebdev%2Fexpo-supa-legend-state","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorwebdev%2Fexpo-supa-legend-state/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorwebdev%2Fexpo-supa-legend-state/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorwebdev%2Fexpo-supa-legend-state/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thorwebdev","download_url":"https://codeload.github.com/thorwebdev/expo-supa-legend-state/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230866969,"owners_count":18292316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T20:17:15.012Z","updated_at":"2025-10-30T01:37:42.871Z","avatar_url":"https://github.com/thorwebdev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Expo App with Legend-State and Supabase Realtime\n\n\u003cp\u003e\n  \u003c!-- iOS --\u003e\n  \u003cimg alt=\"Supports Expo iOS\" longdesc=\"Supports Expo iOS\" src=\"https://img.shields.io/badge/iOS-4630EB.svg?style=flat-square\u0026logo=APPLE\u0026labelColor=999999\u0026logoColor=fff\" /\u003e\n  \u003c!-- Android --\u003e\n  \u003cimg alt=\"Supports Expo Android\" longdesc=\"Supports Expo Android\" src=\"https://img.shields.io/badge/Android-4630EB.svg?style=flat-square\u0026logo=ANDROID\u0026labelColor=A4C639\u0026logoColor=fff\" /\u003e\n\u003c/p\u003e\n\nLocal-first Expo App with [Legend-State](https://legendapp.com/open-source/state/v3/) and [Supabase](https://supabase.com/).\n\n- [Read the detailed tutorial](https://supabase.link/local-first-expo-legend-state)\n- [Watch the video guide](https://supabase.link/local-first-expo-legend-state-yt)\n\n## Setup\n\n- Create Supabase account at [database.new](https://database.new).\n- Create `.env.local` file by running `cp .env.local.example .env.local`.\n- Add your credentials from the [Supabase Dashboard](https://supabase.com/dashboard/project/_/settings/api).\n- Run `supabase link` to link your local project to your Supabase project.\n- Run `supabase db push` to apply the [init migration](./supabase/migrations/20240902202009_init.sql) to your Supabase database.\n\n## 🚀 How to run locally\n\n- Run `yarn` or `npm install`.\n- Run `yarn start` or `npm run start` to try it out.\n  - Press a │ open Android\n  - Press i │ open iOS simulator\n  - Press w │ open web\n\n## How to generate types\n\n```bash\nsupabase start\nsupabase gen types --lang=typescript --local \u003e utils/database.types.ts\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthorwebdev%2Fexpo-supa-legend-state","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthorwebdev%2Fexpo-supa-legend-state","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthorwebdev%2Fexpo-supa-legend-state/lists"}