{"id":19000438,"url":"https://github.com/typesense/showcase-nba-players-search-flutter","last_synced_at":"2025-04-22T17:04:36.955Z","repository":{"id":244376404,"uuid":"814718060","full_name":"typesense/showcase-nba-players-search-flutter","owner":"typesense","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-16T09:07:36.000Z","size":710,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-17T07:17:31.842Z","etag":null,"topics":[],"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/typesense.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-06-13T15:00:49.000Z","updated_at":"2024-10-24T04:38:39.000Z","dependencies_parsed_at":"2025-04-16T22:01:16.818Z","dependency_job_id":"4df06dd0-7f7e-4fa7-9041-d7d8cacdc0c6","html_url":"https://github.com/typesense/showcase-nba-players-search-flutter","commit_stats":null,"previous_names":["typesense/showcase-nba-players-search-flutter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typesense%2Fshowcase-nba-players-search-flutter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typesense%2Fshowcase-nba-players-search-flutter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typesense%2Fshowcase-nba-players-search-flutter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typesense%2Fshowcase-nba-players-search-flutter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/typesense","download_url":"https://codeload.github.com/typesense/showcase-nba-players-search-flutter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250285650,"owners_count":21405296,"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":"2024-11-08T18:07:13.958Z","updated_at":"2025-04-22T17:04:36.928Z","avatar_url":"https://github.com/typesense.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003e\n 🏀 Search NBA players' stats, powered by Typesense \u0026 flutter\n\u003c/h1\u003e\nThis search experience is powered by \u003ca href=\"https://typesense.org\" target=\"_blank\"\u003eTypesense\u003c/a\u003e which is\na blazing-fast, \u003ca href=\"https://github.com/typesense/typesense\" target=\"_blank\"\u003eopen source\u003c/a\u003e typo-tolerant\nsearch-engine. It is an open source alternative to Algolia and an easier-to-use alternative to ElasticSearch.\u003cbr/\u003e\n\u003cbr/\u003e\nThis demo uses the \u003ca href=\"https://github.com/typesense/typesense-dart\" target=\"_blank\"\u003etypesense-dart\u003c/a\u003e client and flutter \u003ca href=\"https://pub.dev/packages/infinite_scroll_pagination\" target=\"_blank\"\u003einfinite_scroll_pagination\u003c/a\u003e.\nThe dataset is available on \u003ca href=\"https://www.kaggle.com/datasets/justinas/nba-players-data\" target=\"_blank\"\u003eKaggle\u003c/a\u003e.\n\n## Project Structure\n\n```bash\n├── cli/\n│   ├── data/\n│   │   └── nba_players.jsonl\n│   ├── compose.yml\n│   └── index_typesense.dart # index data from nba_players.jsonl into typesense server\n└── src/\n    ├── models/\n    │   └── ...\n    ├── widgets/\n    │   └── ...\n    ├── utils/\n    │   └── typesense.dart # typesense client config\n    └── main.dart # nba players search\n```\n\n## Development\n\nTo run this project locally, make sure you have flutter SDK installed:\n\n```shell\ncd cli\nflutter pub get\n#Start typesense server\ndocker compose up\n\n#Index data into typesense\ndart index_typesense.dart\n```\n\nStart developing\n```shell\nflutter pub get\nflutter run --dart-define-from-file=.env\n```\n\n## Environment\n\nSet env variables in `.env` file to point the app to the Typesense Cluster\n\n```env\nTYPESENSE_HOST=localhost # use your internet IPv4 address when developing on mobile\nTYPESENSE_PORT=8108\nTYPESENSE_PROTOCOL=http\nTYPESENSE_SEARCH_ONLY_API_KEY=xyz\n```\n\nOnly for indexing:\n\n```env\nTYPESENSE_ADMIN_API_KEY=xyz\nFORCE_REINDEX=false\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypesense%2Fshowcase-nba-players-search-flutter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftypesense%2Fshowcase-nba-players-search-flutter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypesense%2Fshowcase-nba-players-search-flutter/lists"}