{"id":19143328,"url":"https://github.com/devrsi0n/supabase-todo-list","last_synced_at":"2026-06-20T17:31:47.523Z","repository":{"id":89205436,"uuid":"329926063","full_name":"devrsi0n/supabase-todo-list","owner":"devrsi0n","description":null,"archived":false,"fork":false,"pushed_at":"2021-01-15T13:55:00.000Z","size":171,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-19T13:46:27.470Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"supabase-todo-list-git-master.devrsi0n.vercel.app","language":"JavaScript","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/devrsi0n.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":"2021-01-15T13:54:50.000Z","updated_at":"2021-01-15T13:55:40.000Z","dependencies_parsed_at":"2023-06-14T10:30:22.266Z","dependency_job_id":null,"html_url":"https://github.com/devrsi0n/supabase-todo-list","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devrsi0n/supabase-todo-list","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devrsi0n%2Fsupabase-todo-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devrsi0n%2Fsupabase-todo-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devrsi0n%2Fsupabase-todo-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devrsi0n%2Fsupabase-todo-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devrsi0n","download_url":"https://codeload.github.com/devrsi0n/supabase-todo-list/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devrsi0n%2Fsupabase-todo-list/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34580039,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-09T07:30:33.428Z","updated_at":"2026-06-20T17:31:47.507Z","avatar_url":"https://github.com/devrsi0n.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Todo example using Supabase\n\n- Frontend:\n  - [Next.js](https://github.com/vercel/next.js). The React Framework for Production.\n  - [Tailwind](https://tailwindcss.com/) for styling and layout.\n  - [Supabase.js](https://supabase.io/docs/library/getting-started) for user management and realtime data syncing.\n- Backend:\n  - [app.supabase.io/](https://app.supabase.io/): hosted Postgres database with restful API for usage with Supabase.js.\n  \n\n## Demo\n\n- Live demo: https://supabase-nextjs-todo-list.vercel.app/\n- CodeSandbox: https://codesandbox.io/s/github/supabase/supabase/tree/master/examples/nextjs-todo-list\n\n\n## Deploy with Vercel\n\nThe Vercel deployment will guide you through creating a Supabase account and project. After installation of the Supabase integration, all relevant environment variables will be set up so that the project is usable immediately after deployment 🚀\n\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https%3A%2F%2Fgithub.com%2Fsupabase%2Fsupabase%2Ftree%2Fmaster%2Fexamples%2Fnextjs-todo-list\u0026project-name=supabase-todo-list\u0026repository-name=supabase-todo-list\u0026demo-title=Todo%20list\u0026demo-description=An%20example%20web%20app%20using%20Supabase%20and%20Next.js\u0026demo-url=https%3A%2F%2Fsupabase-nextjs-todo-list.vercel.app\u0026demo-image=https%3A%2F%2Fi.imgur.com%2FGJauPlN.png\u0026integration-ids=oac_jUduyjQgOyzev1fjrW83NYOv\u0026external-id=supabase-todo-list)\n\n\n## Build from scratch\n\n### 1. Create new project\n\nSign up to Supabase - [https://app.supabase.io](https://app.supabase.io) and create a new project. Wait for your database to start.\n\n### 2. Run \"Todo List\" Quickstart\n\nOnce your database has started, run the \"Todo List\" quickstart.\n\n### 3. Get the URL and Key\n\nGo 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.\n\nThe `anon` key is your client-side API key. It allows \"anonymous access\" to your database, until the user has logged in. Once they have logged in, the keys will switch to the user's own login token. This enables row level security for your data. Read more about this [below](#postgres-row-level-security).\n\n![image](https://user-images.githubusercontent.com/10214025/88916245-528c2680-d298-11ea-8a71-708f93e1ce4f.png)\n\n**_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.\n\n\nYou will be asked for a `NEXT_PUBLIC_SUPABASE_URL` and `NEXT_PUBLIC_SUPABASE_KEY`. Use the API URL and `anon` key from [step 3](#3.-get-the-url-and-key).\n\n## Supabase details\n\n### Postgres Row level security\n\nThis project uses very high-level Authorization using Postgres' Role Level Security.\nWhen you start a Postgres database on Supabase, we populate it with an `auth` schema, and some helper functions.\nWhen a user logs in, they are issued a JWT with the role `authenticated` and thier UUID.\nWe can use these details to provide fine-grained control over what each user can and cannot do.\n\nThis is a trimmed-down schema, with the policies:\n\n```sql\ncreate table todos (\n  id bigint generated by default as identity primary key,\n  user_id uuid references auth.users not null,\n  task text check (char_length(task) \u003e 3),\n  is_complete boolean default false,\n  inserted_at timestamp with time zone default timezone('utc'::text, now()) not null\n);\n\nalter table todos enable row level security;\n\ncreate policy \"Individuals can create todos.\" on todos for\n    insert with check (auth.uid() = user_id);\n\ncreate policy \"Individuals can view their own todos. \" on todos for\n    select using (auth.uid() = user_id);\n\ncreate policy \"Individuals can update their own todos.\" on todos for\n    update using (auth.uid() = user_id);\n\ncreate policy \"Individuals can delete their own todos.\" on todos for\n    delete using (auth.uid() = user_id);\n```\n\n## Authors\n\n- [Supabase](https://supabase.io)\n\nSupabase is open source, we'd love for you to follow along and get involved at https://github.com/supabase/supabase\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevrsi0n%2Fsupabase-todo-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevrsi0n%2Fsupabase-todo-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevrsi0n%2Fsupabase-todo-list/lists"}