{"id":23399609,"url":"https://github.com/studio1hq/react-chat-permitio-firebase","last_synced_at":"2026-04-15T19:36:36.032Z","repository":{"id":264865561,"uuid":"870859926","full_name":"Studio1HQ/react-chat-permitio-firebase","owner":"Studio1HQ","description":"A secure chat app built with React, Firebase, and Permit.io, featuring real-time ReBAC for role-based permissions in chat rooms.","archived":false,"fork":false,"pushed_at":"2025-02-26T15:17:09.000Z","size":752,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T15:39:57.500Z","etag":null,"topics":["authorization","chat-application","cloud-functions","firebase","permit","permitio","react","reactjs","rebac"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Studio1HQ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.MD","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},"funding":{"github":["timonwa"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":["https://www.buymeacoffee.com/timonwa","https://paystack.com/pay/timonwa"]}},"created_at":"2024-10-10T19:49:59.000Z","updated_at":"2025-02-26T15:17:12.000Z","dependencies_parsed_at":"2024-12-01T06:17:14.724Z","dependency_job_id":null,"html_url":"https://github.com/Studio1HQ/react-chat-permitio-firebase","commit_stats":null,"previous_names":["studio1hq/react-chat-permitio-firebase"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Studio1HQ%2Freact-chat-permitio-firebase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Studio1HQ%2Freact-chat-permitio-firebase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Studio1HQ%2Freact-chat-permitio-firebase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Studio1HQ%2Freact-chat-permitio-firebase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Studio1HQ","download_url":"https://codeload.github.com/Studio1HQ/react-chat-permitio-firebase/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247918939,"owners_count":21018043,"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":["authorization","chat-application","cloud-functions","firebase","permit","permitio","react","reactjs","rebac"],"created_at":"2024-12-22T10:15:20.196Z","updated_at":"2025-10-18T01:49:27.600Z","avatar_url":"https://github.com/Studio1HQ.png","language":"JavaScript","funding_links":["https://github.com/sponsors/timonwa","https://www.buymeacoffee.com/timonwa","https://paystack.com/pay/timonwa"],"categories":[],"sub_categories":[],"readme":"# Build a Secure Chat Application with React, Permit.io, and Firebase :writing_hand:\n\nThis repository contains the demo project for building a secure chat application using React, Firebase, and Permit.io for role-based access control (ReBAC). Users are assigned roles like Member and Moderator, with permissions to perform different CRUD operations in real-time chat rooms. Check out the full tutorial on [the Permit blog](https://www.permit.io/blog/coding-tutorial-build-a-secure-chat-app-with-react-firebase-and-permitio).\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\nprojects, 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- Relationship-based access control (ReBAC) using Permit.io\n- Real-time messaging with Firebase\n- User authentication with Firebase Auth (Google login)\n- Chat rooms with permissions: moderators and members\n- CRUD actions with different permissions per role\n\n## Technologies Used\n\n- **React** – Frontend library for building UI\n- **Firebase** – For real-time database and authentication\n- **Permit.io** – Handles permissions and relationship-based access control\n- **Cloud Functions** – Backend API for permission checks\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/timonwa/react-chat-permitio-firebase.git\n  ```\n\n- **Install dependencies:**\n\n  ```bash\n  cd react-chat-permitio-firebase\n  npm install\n  ```\n\n- **Start the development server:**\n\n  ```bash\n  npm start\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- [Firebase Documentation](https://firebase.google.com/docs)\n- [Permit.io Documentation](https://docs.permit.io)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstudio1hq%2Freact-chat-permitio-firebase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstudio1hq%2Freact-chat-permitio-firebase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstudio1hq%2Freact-chat-permitio-firebase/lists"}