{"id":16430166,"url":"https://github.com/its-alex/hasura-playground","last_synced_at":"2026-05-13T13:38:01.842Z","repository":{"id":234285705,"uuid":"785916876","full_name":"Its-Alex/hasura-playground","owner":"Its-Alex","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-19T07:40:32.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-30T17:48:20.769Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/Its-Alex.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":"2024-04-12T22:50:32.000Z","updated_at":"2024-04-18T16:42:33.000Z","dependencies_parsed_at":"2024-11-10T16:12:27.064Z","dependency_job_id":null,"html_url":"https://github.com/Its-Alex/hasura-playground","commit_stats":null,"previous_names":["its-alex/hasura-playground"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Its-Alex/hasura-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Its-Alex%2Fhasura-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Its-Alex%2Fhasura-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Its-Alex%2Fhasura-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Its-Alex%2Fhasura-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Its-Alex","download_url":"https://codeload.github.com/Its-Alex/hasura-playground/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Its-Alex%2Fhasura-playground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285249460,"owners_count":27139375,"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","status":"online","status_checked_at":"2025-11-19T02:00:05.673Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-10-11T08:25:57.165Z","updated_at":"2025-11-19T13:05:04.536Z","avatar_url":"https://github.com/Its-Alex.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hasura playground\n\nThis repository is a playground for local [hasura](https://hasura.io/) instance.\n\n## Requirements\n\n- [`mise`](https://mise.jdx.dev/)\n- [`docker`](https://www.docker.com/)\n\nExecute these commands to install dependencies:\n\n```sh\n$ mise install\n$ pip install -U pgcli\n```\n\n## Getting started\n\nFirst you must launch hasura and setup it. A script done this automatically:\n\n```sh\n$ ./scripts/up.sh\n[+] Running 3/3\n ✔ Container hasura-playground-data-connector-agent-1  Healthy                                                                                                                                                                                                               0.0s\n ✔ Container hasura-playground-postgres-1              Running                                                                                                                                                                                                               0.0s\n ✔ Container hasura-playground-graphql-engine-1        Running                                                                                                                                                                                                               0.0s\nWaiting for graphql-engine:8080  .  up!\nEverything is up\nINFO hasura cli is up to date                      version=2.38.1\nINFO Metadata applied\n```\n\nYou can then go to `http://localhost:8080` to access hasura dashboard.\n\nBy default some fixtures are automatically imported, you can see them in\n[`./fixtures/index.sql`](./fixtures/index.sql).\n\n## Reset hasura and database\n\nYou can reset hasura and postgres to default state by using\n[`reset-local-database.sh`](./scripts/reset-local-database.sh):\n\n```sh\n$ ./scripts/reset-local-database.sh\nNOTICE:  drop cascades to 4 other objects\nDETAIL:  drop cascades to table users\ndrop cascades to table tags\ndrop cascades to table users_tags\ndrop cascades to table events\nINFO Seeds planted\nINFO migrations applied\nINFO migrations applied\n```\n\nHasura and database will be reset with default fixtures.\n\n## Enter postgres database\n\nA script is available to automatically connect to postgres shell using\n[pgcli](https://www.pgcli.com/):\n\n```sh\n$ ./scripts/enter-postgres.sh\nServer: PostgreSQL 15.6\nVersion: 4.0.1\nHome: http://pgcli.com\nhasura@127:hasura\u003e\n```\n\nYou can now execute any SQL commands.\n\n## Down\n\nYou can cleanup project by using [`down.sh`](./scripts/down.sh):\n\n```sh\n$ ./scripts/down.sh\n```\n\n## License\n\n[MIT](/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fits-alex%2Fhasura-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fits-alex%2Fhasura-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fits-alex%2Fhasura-playground/lists"}