Local-first Expo App with Legend-State and Supabase.
- Create Supabase account at database.new.
- Create
.env.local
file by runningcp .env.local.example .env.local
. - Add your credentials from the Supabase Dashboard.
- Run
supabase link
to link your local project to your Supabase project. - Run
supabase db push
to apply the init migration to your Supabase database.
- Run
yarn
ornpm install
. - Run
yarn start
ornpm run start
to 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