{"id":26847655,"url":"https://github.com/redis-developer/demo-redis-bigquery","last_synced_at":"2026-04-13T14:31:34.672Z","repository":{"id":285278528,"uuid":"957294457","full_name":"redis-developer/demo-redis-bigquery","owner":"redis-developer","description":"This app uses Redis and BigQuery. Data is prefetched from BigQuery and queried using Redis Search and JSON.","archived":false,"fork":false,"pushed_at":"2026-03-18T22:11:23.000Z","size":256,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-03-19T11:38:58.478Z","etag":null,"topics":["bigquery","demo","express","formula1","google-cloud","javascript","node-redis","react","redis"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/redis-developer.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}},"created_at":"2025-03-30T02:12:17.000Z","updated_at":"2026-03-18T22:11:27.000Z","dependencies_parsed_at":"2025-03-30T19:33:20.132Z","dependency_job_id":"e6dbd89f-df38-4194-a124-97f7eb306f3e","html_url":"https://github.com/redis-developer/demo-redis-bigquery","commit_stats":null,"previous_names":["redis-developer/demo-redis-bigquery"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/redis-developer/demo-redis-bigquery","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-developer%2Fdemo-redis-bigquery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-developer%2Fdemo-redis-bigquery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-developer%2Fdemo-redis-bigquery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-developer%2Fdemo-redis-bigquery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redis-developer","download_url":"https://codeload.github.com/redis-developer/demo-redis-bigquery/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-developer%2Fdemo-redis-bigquery/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31757477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T13:27:56.013Z","status":"ssl_error","status_checked_at":"2026-04-13T13:21:23.512Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["bigquery","demo","express","formula1","google-cloud","javascript","node-redis","react","redis"],"created_at":"2025-03-30T20:22:48.733Z","updated_at":"2026-04-13T14:31:34.660Z","avatar_url":"https://github.com/redis-developer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This demo shows how to prefetch BigQuery data into Redis for fast app reads. It uses Redis JSON to store race documents and Redis Search to filter them by year.\n\nThe app has two run modes:\n\n- Local dev: Vite serves the React app on `http://localhost:5173` and proxies API calls to the Express server on `http://localhost:3000`.\n- Docker: Express serves the production client build on `http://localhost:8080`.\n\n## Requirements\n\n- [bun](https://bun.sh/)\n- [docker](https://www.docker.com/) for the containerized flow\n- A BigQuery project with the [Formula One dataset](https://www.kaggle.com/datasets/rohanrao/formula-1-world-championship-1950-2020) loaded\n- Local Google Cloud application default credentials for the BigQuery API\n\n## Configuration\n\nCopy the sample environment file:\n\n```bash\ncp .env.example .env\n```\n\nUpdate the required values:\n\n- `REDIS_URL`\n- `GOOGLE_APPLICATION_CREDENTIALS`\n- `GOOGLE_CLOUD_PROJECT_ID`\n\nOptional values:\n\n- `PORT`\n- `ENABLE_IMAGE_ENRICHMENT`\n\n`ENABLE_IMAGE_ENRICHMENT=false` disables the Wikipedia image lookups during cache warmup. That is the default in Docker to keep startup predictable.\n\n## Run locally\n\nStart Redis separately, then run:\n\n```bash\nbun install\nbun run dev\n```\n\nOpen `http://localhost:5173`.\n\n## Run with Docker\n\nCreate `.env` first, then run:\n\n```bash\nbun run docker:up\n```\n\nOpen `http://localhost:8080`.\n\nThe Compose file uses `redis:alpine` and runs the app from the production build.\n\n## Scripts\n\n```bash\nbun run dev\nbun run build\nbun run test\nbun run lint\nbun run format\nbun run docker:up\nbun run docker:down\n```\n\n## Redis notes\n\n- This app uses the official `redis` Node.js client.\n- Race documents are stored as Redis JSON values under the `races:*` prefix.\n- A Redis Search index named `races-idx` supports the year filter.\n\n## Redis Cloud\n\nIf you want to point the app at Redis Cloud instead of local Redis, replace `REDIS_URL` in `.env` with your Redis Cloud connection string.\n\n## Learn more\n\n- [Redis docs](https://redis.io/docs/latest/)\n- [Redis clients](https://redis.io/docs/latest/develop/clients/)\n- [Redis Insight](https://redis.io/insight/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredis-developer%2Fdemo-redis-bigquery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredis-developer%2Fdemo-redis-bigquery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredis-developer%2Fdemo-redis-bigquery/lists"}