Skip to content

CRUD with Authentication and Authorization using Get x cli pattern and Supabase

Notifications You must be signed in to change notification settings

fridolinf/supabase_example

Repository files navigation

Simple CRUD Notes with Authentication & Authentication

Tech Stack

SUPABASE

FLUTTER

GETX

Features

  • CRUD Notes (title, description)
  • Foreign key from users table in notes table
  • Authentication & Authorization
  • Fully Getx cli pattern implementation
  • Automatic logout based on time after login

Environment Variables

To run this project, you will need to add the following environment variables to your .env file or change .env.example to .env and don't forget to set the environment key

SUPABASE_URL= "Your Supabase URL"

SUPABASE_ANONKEY= "Your Supabase anonKey"

Run Locally

Clone the project

  git clone https://github.com/fridolinf/supabase_example.git

Go to the project directory

  cd supabase_example

Install getx cli globally

  pub global activate get_cli

see full implementation: https://pub.dev/packages/get_cli

Install dependencies

  • using flutter cli and vscode
  flutter pub get

DB Schema

  • Table

image

  • Notes Table

image

  • Users Table

image

Run without debug

  • Windows user
  ctrl + f5

Related

Here are some related projects

  • Build and release flutter project

macOS

Windows

Screenshots

App Screenshot

Authors

@fridolinf

Releases

No releases published

Packages

No packages published