{"id":13552594,"url":"https://github.com/alfianlosari/firestore_algolia_flutter_cloud_function","last_synced_at":"2025-04-10T16:25:19.204Z","repository":{"id":45514449,"uuid":"184453598","full_name":"alfianlosari/firestore_algolia_flutter_cloud_function","owner":"alfianlosari","description":"Firestore Full Text Search with Algolia with Flutter Client App","archived":false,"fork":false,"pushed_at":"2019-05-01T17:40:59.000Z","size":152,"stargazers_count":22,"open_issues_count":0,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-03T23:34:59.672Z","etag":null,"topics":["algolia","cloud-firestore","cloud-functions","dart","firestore","flutter","fulltext-search","typescript"],"latest_commit_sha":null,"homepage":null,"language":"Dart","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/alfianlosari.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}},"created_at":"2019-05-01T17:24:33.000Z","updated_at":"2024-06-26T05:52:39.000Z","dependencies_parsed_at":"2022-09-10T04:22:20.758Z","dependency_job_id":null,"html_url":"https://github.com/alfianlosari/firestore_algolia_flutter_cloud_function","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/alfianlosari%2Ffirestore_algolia_flutter_cloud_function","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfianlosari%2Ffirestore_algolia_flutter_cloud_function/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfianlosari%2Ffirestore_algolia_flutter_cloud_function/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfianlosari%2Ffirestore_algolia_flutter_cloud_function/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alfianlosari","download_url":"https://codeload.github.com/alfianlosari/firestore_algolia_flutter_cloud_function/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224580054,"owners_count":17334730,"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":["algolia","cloud-firestore","cloud-functions","dart","firestore","flutter","fulltext-search","typescript"],"created_at":"2024-08-01T12:02:06.472Z","updated_at":"2024-11-14T06:56:47.386Z","avatar_url":"https://github.com/alfianlosari.png","language":"Dart","funding_links":[],"categories":["Dart"],"sub_categories":[],"readme":"# Firestore Full Text Search with Algolia, Cloud Functions, and Flutter Client App\n\n![Alt text](./promo.png?raw=true \"iOS \u0026 Android\")\n\n## Description\nUsing Firestore as Database with Full Text Search capability using Algolia and Google Cloud Functions, included Flutter Client App. Everytime data is inserted, updated, and deleted in firestore database, a function will be invoked and update the index in Algolia. The Client app will use Algolia SDK to query the data in the front end mobile app.\n\n## Requirements\nAlgolia Account(https://www.algolia.com)\nFirebase Account(https://firebase.google.com)\nFlutter SDK (https://www.flutter.dev)\nFirebase SDK (npm install -g firebase-tools)\n\n## Getting Started\n- Register Algolia Free Account, Get APP ID, ADMIN KEY, and CLIENT KEY\n- Register for Firebase and create new project, set account to Blaze plan\n- Initialize Firebase project in directory using SDK\n- Download Service Account JSON for firebase project, rename to serviceAccount.json put in project root path\n- Retrieve Firebase URL and go to functions/src/firestore_import_data.ts and paste it initializeApp\n- Retrieve Algolia APP ID and ADMIN KEY and go to functions/src/index.ts and paste in algolia initialization\n- Retrieve Algolia APP ID and CLIENT KEY and go to algolia_search_flutter/libs/algolia_service.dart and paste the file in algolia initialization\n- Go to functions folder and run npm install\n- Go to root path and run firebase deploy --only functions to develop your functions trigger that will start indexing to algolia whenever data is inserted, updated, and deleted in your firestore db\n- Run npm run import to begin importing stub data from data.json to your firestore db\n- Check your firestore console and algolia console to see all the data successfully imported\n- Run the Flutter app in algolia_search_flutter\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falfianlosari%2Ffirestore_algolia_flutter_cloud_function","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falfianlosari%2Ffirestore_algolia_flutter_cloud_function","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falfianlosari%2Ffirestore_algolia_flutter_cloud_function/lists"}