{"id":19006939,"url":"https://github.com/yowainwright/rego-learning","last_synced_at":"2026-03-19T07:37:04.238Z","repository":{"id":152262751,"uuid":"612421697","full_name":"yowainwright/rego-learning","owner":"yowainwright","description":"Rego Learning","archived":false,"fork":false,"pushed_at":"2023-03-11T00:48:19.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-01T20:09:32.694Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Open Policy Agent","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/yowainwright.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":"2023-03-10T23:06:09.000Z","updated_at":"2023-03-11T01:04:00.000Z","dependencies_parsed_at":"2023-05-24T05:15:44.450Z","dependency_job_id":null,"html_url":"https://github.com/yowainwright/rego-learning","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/yowainwright%2Frego-learning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yowainwright%2Frego-learning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yowainwright%2Frego-learning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yowainwright%2Frego-learning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yowainwright","download_url":"https://codeload.github.com/yowainwright/rego-learning/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240029672,"owners_count":19736627,"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:35:17.526Z","updated_at":"2026-02-28T03:03:22.002Z","avatar_url":"https://github.com/yowainwright.png","language":"Open Policy Agent","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rego Learning\n\nThis repository contains basic [rego, a JSON superset language](https://www.openpolicyagent.org/docs/latest/policy-language/), examples based on [Open Policy Agent (OPA) documentation](https://www.openpolicyagent.org/).\n\n---\n\n## Setup\n\nSetup the repository by running the setup script\n```bash\n./bin/setup.sh\n```\n\nExecute the tests by running the test script\n```bash\n./bin/run_tests.sh\n```\n\nWhen committing tests will be run. This package was built with the [VSCode Opa extension](https://marketplace.visualstudio.com/items?itemName=tsandall.opa).\n\n---\n\n## Directory Structure\n\n- **`/bin`**: contains bash scripts for repository setup and testing\n- **`/policy`**: is the most simple policy example\n- **`/rest`**: is a REST API example\n- **`/rest_detailed`**: is a REST API example with tests\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyowainwright%2Frego-learning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyowainwright%2Frego-learning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyowainwright%2Frego-learning/lists"}