/supabase-xamarin-forms-example

Cross platform Todo mobile app with Xamarin Forms and Supabase

Primary LanguageC#MIT LicenseMIT

Todo example using Supabase & Xamarin.Forms

Cross platform Todo mobile app with Xamarin Forms and Supabase

App view (Screenshots)

1. Create new project

Sign up to Supabase - https://app.supabase.io and create a new project. Wait for your database to start.

2. Create Database

Once your database has started, create a new table

create table todos (
  id bigint generated by default as identity primary key,
  name text not null,
  notes text not null,
  done boolean default false
);

3. Get the URL and Key

Go to the Project Settings (the cog icon), open the API tab, and find your API URL and anon key, you'll need these in the next step.

The anon key is your client-side API key. It allows "anonymous access" to your database. image

NOTE: The service_role key has full access to your data, bypassing any security policies. These keys have to be kept secret and are meant to be used in server environments and never on a client or browser.

Authors

Supabase is open source, we'd love for you to follow along and get involved at https://github.com/supabase/supabase

Local development

  • Clone the project
  • Set environment variables
  • Run the project