{"id":21685636,"url":"https://github.com/redis-field-engineering/redis-graphql","last_synced_at":"2026-02-23T03:03:08.095Z","repository":{"id":64304733,"uuid":"440284779","full_name":"redis-field-engineering/redis-graphql","owner":"redis-field-engineering","description":"GraphQL Service for Redisearch","archived":false,"fork":false,"pushed_at":"2022-06-23T20:04:35.000Z","size":8102,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-10-23T14:57:01.724Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/redis-field-engineering.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}},"created_at":"2021-12-20T19:30:10.000Z","updated_at":"2025-10-10T21:56:00.000Z","dependencies_parsed_at":"2023-01-15T10:15:36.497Z","dependency_job_id":null,"html_url":"https://github.com/redis-field-engineering/redis-graphql","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/redis-field-engineering/redis-graphql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-field-engineering%2Fredis-graphql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-field-engineering%2Fredis-graphql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-field-engineering%2Fredis-graphql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-field-engineering%2Fredis-graphql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redis-field-engineering","download_url":"https://codeload.github.com/redis-field-engineering/redis-graphql/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-field-engineering%2Fredis-graphql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29735914,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T02:24:00.660Z","status":"ssl_error","status_checked_at":"2026-02-23T02:22:56.087Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2024-11-25T16:22:15.603Z","updated_at":"2026-02-23T03:03:08.068Z","avatar_url":"https://github.com/redis-field-engineering.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GraphQL-Redis\n\nA [GraphQL](https://graphql.org/) server backed by Redis\n\n## Features\n\n- Query Redis data using GraphQL\n- Full text search on fields in Redis Data\n- Numeric range queries\n- Negative and optional matches\n- Aggregate data for reporting\n- Geographic matching\n- Only minimal configuration required\n\n\n## How this works\n\nThe GraphQL server queries RediSearch for the search schema then dynamically builds the GraphQL schema. \n\n![img](./docs/RediSearchGraphQL.png)\n\n### Data Formatting\n\nData is stored in a [Redis Hash data structure](https://redis.io/docs/manual/data-types/#hashes)\n\nFor example we have a list of gaming users and we want to be able to search these users by fields\n\n#### user:jennifer82\n\n|Field|Example Value|\n|---|---|\n|username|jennifer82|\n|location|41.09822,120.74792|\n|rating|591|\n|playstyle|stationary,sniper|\n|email|jennifer.lewis@example.com|\n\n```\nHSET user:jennifer82 username jennifer82  rating 591  email jennifer.lewis@example.com playstyle stationary,sniper location 122.4194,37.7749\n```\n\n### Create an Index on the fields you wish to search\n\n```\nFT.CREATE Gamers ON HASH PREFIX 1 user: SCHEMA username TEXT location GEO SORTABLE rating NUMERIC SORTABLE playstyle TAG email TAG\n```\n\nNote: Please do not use ```:``` or ```-``` in the Index name.  ```_``` is acceptable.\n\nSee [Tips and Tricks](./docs/SchemaTipsAndTricks.md) for more detailed information on creating a Redisearch schema\n\n### Run the GraphQL server and point at the the Redis instance\n\n```\n./redis-graphql --redis-host localhost --redis-port 6379\n```\n\n### View the auto generated documents in browser\n\nhttp://localhost:8080/docs\n\n### Run a query\n```\ncurl -s -X POST  -H \"Content-Type: application/json\" --data '{\"query\": \"{ Gamers(username:\\\"jennifer82\\\") {username,email,rating}}\"}'   http://localhost:8080/graphql \n{\n  \"data\": {\n    \"Gamers\": [\n      {\n        \"email\": \"jennifer.lewis@example.com\",\n        \"rating\": 591,\n        \"username\": \"jennifer82\"\n      }\n    ]\n  }\n}\n```\n\nSee [Querying](./docs/Queries.md) and [Aggregations](./docs/Aggregations.md) for more detailed query examples\n\n\n\n## Utilities\n\nExample [Prometheus/Grafana Setup](./utils/grafana/README.md) is available\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredis-field-engineering%2Fredis-graphql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredis-field-engineering%2Fredis-graphql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredis-field-engineering%2Fredis-graphql/lists"}