Local-first Expo App with Legend-State and Supabase.
- Create Supabase account at database.new.
- Create
.env.localfile by runningcp .env.local.example .env.local. - Add your credentials from the Supabase Dashboard.
- Run
supabase linkto link your local project to your Supabase project. - Run
supabase db pushto apply the init migration to your Supabase database.
- Run
yarnornpm install. - Run
yarn startornpm run startto try it out.- Press a │ open Android
- Press i │ open iOS simulator
- Press w │ open web
supabase start
supabase gen types --lang=typescript --local > utils/database.types.ts