{"id":16108920,"url":"https://github.com/sbis04/stream_auth_firebase","last_synced_at":"2025-04-13T14:12:37.979Z","repository":{"id":121353265,"uuid":"407463509","full_name":"sbis04/stream_auth_firebase","owner":"sbis04","description":"Stream serverless authentication using Firebase Authentication and Cloud Functions.","archived":false,"fork":false,"pushed_at":"2021-11-17T08:57:43.000Z","size":1873,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T05:13:20.357Z","etag":null,"topics":["firebase","stream"],"latest_commit_sha":null,"homepage":"","language":"Dart","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/sbis04.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":"2021-09-17T08:24:56.000Z","updated_at":"2024-04-16T11:56:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"51d70305-2700-4161-9e03-ed8f8979276e","html_url":"https://github.com/sbis04/stream_auth_firebase","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbis04%2Fstream_auth_firebase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbis04%2Fstream_auth_firebase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbis04%2Fstream_auth_firebase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbis04%2Fstream_auth_firebase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sbis04","download_url":"https://codeload.github.com/sbis04/stream_auth_firebase/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248724629,"owners_count":21151561,"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":["firebase","stream"],"created_at":"2024-10-09T19:29:06.159Z","updated_at":"2025-04-13T14:12:37.974Z","avatar_url":"https://github.com/sbis04.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Serverless authentication in Messaging App using Flutter and Firebase 🔥\n\nThis project shows how to implement a serverless authentication system using [Firebase Authentication](https://firebase.google.com/docs/auth) and [Cloud Functions](https://firebase.google.com/docs/functions) in your [Stream](https://getstream.io/) messaging app.\n\n## Authentication Screens\n\n![Authentication screens](screenshots/stream_authentication.png)\n\n## Stream Messaging Screens\n\n![Stream messaging screens](screenshots/stream_channels.png)\n\n## Project structure 🏗️\n\nThe `lib` directory contains the Dart code of the Flutter app, it is distributed in the following directories:\n\n* **screens:** contains all the Flutter app screens\n* **utils:** contains the utility classes for authentication and Stream client\n\n## Requirements 🧪\n\nSome prerequisites to run this project:\n\n* **Flutter 2 with null safety enabled** (it is tested on Flutter v2.5.3): You can install it from the [Flutter website](https://flutter.dev/docs/get-started/install).\n\n* **Setup Stream app:** You can sign up for a Stream account at [getstream.io](https://getstream.io/dashboard/signup), and get the free trial of Stream's Chat Messaging by going [here](https://getstream.io/chat/trial/).\n\n* **Setup Firebase project:** You can to the [Firebase console](https://console.firebase.google.com/) and create a new project.\n\n## Usage 👨‍💻\n\nFor building and running this project locally, follow the steps below:\n\n* Clone this repository:\n\n   ```sh\n   git clone https://github.com/sbis04/stream_auth_firebase.git\n   ```\n\n* Navigate to the project directory:\n  \n  ```sh\n  ch stream_auth_firebase\n  ```\n\n* Get Flutter dependencies:\n  \n  ```sh\n  flutter pub get\n  ```\n\n* Create a `secrets.dart` dart file inside the `lib` directory with the following content:\n  \n  ```dart\n  // Stream API Key\n  const streamKey = 'your-stream-key';\n  ```\n\n* Add your Firebase secret files, `google-services.json` for Android and `GoogleService-Info.plist` for iOS to the respective directories.\n\n* Run the app:\n  \n  ```sh\n  flutter run\n  ```\n\n## License 📝\n\nCopyright (c) 2021 Souvik Biswas\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbis04%2Fstream_auth_firebase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsbis04%2Fstream_auth_firebase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbis04%2Fstream_auth_firebase/lists"}