{"id":28028358,"url":"https://github.com/permitio/supabase-fine-grained-authorization","last_synced_at":"2026-03-16T13:04:16.820Z","repository":{"id":288155467,"uuid":"963197295","full_name":"permitio/supabase-fine-grained-authorization","owner":"permitio","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-09T10:01:54.000Z","size":3133,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-04T16:08:25.637Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/permitio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2025-04-09T10:00:59.000Z","updated_at":"2025-04-27T01:23:20.000Z","dependencies_parsed_at":"2025-04-16T10:06:12.535Z","dependency_job_id":null,"html_url":"https://github.com/permitio/supabase-fine-grained-authorization","commit_stats":null,"previous_names":["permitio/supabase-fine-grained-authorization"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permitio%2Fsupabase-fine-grained-authorization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permitio%2Fsupabase-fine-grained-authorization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permitio%2Fsupabase-fine-grained-authorization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permitio%2Fsupabase-fine-grained-authorization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/permitio","download_url":"https://codeload.github.com/permitio/supabase-fine-grained-authorization/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253528970,"owners_count":21922636,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2025-05-11T07:10:42.625Z","updated_at":"2026-03-16T13:04:11.784Z","avatar_url":"https://github.com/permitio.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Building a Real-Time Polling App with Next.js, Supabase and Permit.io for Audience Participation :writing_hand:\n\nThis repository contains the demo project for building a real-time polling app using Next.js, Supabase, and Permit.io for role-based access control (RBAC). In this project, unauthenticated users are allowed only to view polls on the platform. Authenticated users can create new polls, vote in them (except for polls they created) and view real-time voting results. Only the creator of a poll is allowed to edit or delete their poll. Check out the full tutorial on [the Permit blog](https://www.permit.io/blog).\n\nVisit my blog, [Timonwa's Notes](https://tech.timonwa.com/blog), for more awesome technical content such as articles, code snippets, tech goodies, community projects, and more.\n\nIf you find this repository helpful, please give it a ⭐ to show your support!\n\n## Table of Contents\n\n- [Features](#features)\n- [Technologies Used](#technologies-used)\n- [Setup and Installation](#setup-and-installation)\n- [License](#license)\n\n---\n\n## Features\n\n- Role-based access control (RBAC) using Permit.io\n- User authentication with Supabase Email Authentication\n- CRUD actions with different permissions per role\n- Real-time polling updates with Supabase\n\n## Technologies Used\n\n- **Next.js** – React framework for building full-stack applications\n- **Supabase** – For real-time database and authentication\n- **Permit.io** – Handles permissions and role-based access controls\n\n---\n\n## Setup and Installation\n\nTo run this project locally:\n\n- **Clone the repository:**\n\n  ```bash\n  git clone https://github.com/Studio1HQ/realtime-polling-app-nextjs-supabase-permitio.git\n  ```\n\n- **Install dependencies:**\n\n  ```bash\n  cd realtime-polling-app-nextjs-supabase-permitio\n  npm install\n  ```\n\n- **Start the development server:**\n\n  ```bash\n  npm dev\n  ```\n\n---\n\n## License\n\nThis project is licensed under the MIT License – see the [LICENSE](https://github.com/Timonwa/react-chat-permitio-firebase/blob/main/LICENSE.MD) file\nfor details.\n\n---\n\n### Additional Resources\n\n- [Next.js](https://nextjs.org/)\n- [Supabase Documentation](https://supabase.com/docs)\n- [Permit.io Documentation](https://docs.permit.io)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpermitio%2Fsupabase-fine-grained-authorization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpermitio%2Fsupabase-fine-grained-authorization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpermitio%2Fsupabase-fine-grained-authorization/lists"}