{"id":28028390,"url":"https://github.com/permitio/react-feature-flag-rebac","last_synced_at":"2025-05-11T07:13:01.885Z","repository":{"id":278005110,"uuid":"934212162","full_name":"permitio/react-feature-flag-rebac","owner":"permitio","description":"A demo application of React.js feature flagging, using CASL and Permit.io for dynamic permissions-based feature toggling.","archived":false,"fork":false,"pushed_at":"2025-02-17T13:12:11.000Z","size":96,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-11T07:11:13.460Z","etag":null,"topics":["example"],"latest_commit_sha":null,"homepage":"","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}},"created_at":"2025-02-17T13:09:44.000Z","updated_at":"2025-03-13T15:02:17.000Z","dependencies_parsed_at":"2025-02-17T14:33:46.435Z","dependency_job_id":null,"html_url":"https://github.com/permitio/react-feature-flag-rebac","commit_stats":null,"previous_names":["permitio/react-feature-flag-rebac"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permitio%2Freact-feature-flag-rebac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permitio%2Freact-feature-flag-rebac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permitio%2Freact-feature-flag-rebac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permitio%2Freact-feature-flag-rebac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/permitio","download_url":"https://codeload.github.com/permitio/react-feature-flag-rebac/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253528978,"owners_count":21922637,"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":["example"],"created_at":"2025-05-11T07:13:01.403Z","updated_at":"2025-05-11T07:13:01.877Z","avatar_url":"https://github.com/permitio.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Document Manager\n\nA document management system demonstrating ReBAC (Relationship-Based Access Control) using Permit.io.\n\n## Structure\n```bash\ndocument-manager/\n├── backend/         \n└── frontend/  \n\n## Prerequisites\n\n- Node.js\n- Permit.io account and API key\n- Clerk.dev account and API keys\n\n## Setup\n\n1. Install dependencies:\n```sh\nnpm run install-all\n```\n2. Set up environment variables:\nBackend (.env):\n```sh\nPERMIT_API_KEY=your_permit_api_key\nPORT=3001\n```\nFrontend (.env.local):\n```sh\nNEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key\nCLERK_SECRET_KEY=your_clerk_secret_key\n```\n\n3. Run the development servers:\n```sh\nnpm run dev\n```\nThis will start:\n\n- Backend on http://localhost:3001\n- Frontend on http://localhost:3000\n\n## Features\n\n- ReBAC permissions with Permit.io\n- Document management with categories\n\n## Stack\n\n- Frontend: Next.js, TypeScript, Tailwind CSS\n- Backend: Express.js\n- Auth: Clerk\n- Permissions: Permit.io\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpermitio%2Freact-feature-flag-rebac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpermitio%2Freact-feature-flag-rebac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpermitio%2Freact-feature-flag-rebac/lists"}