{"id":20844805,"url":"https://github.com/nest-cloud/nestcloud-rbac-examples","last_synced_at":"2026-04-21T12:32:31.133Z","repository":{"id":43982204,"uuid":"183720934","full_name":"nest-cloud/nestcloud-rbac-examples","owner":"nest-cloud","description":"A rbac example  for nestcloud.","archived":false,"fork":false,"pushed_at":"2023-01-12T01:42:51.000Z","size":1190,"stargazers_count":1,"open_issues_count":19,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-12T11:23:12.292Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/nest-cloud.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}},"created_at":"2019-04-27T02:55:21.000Z","updated_at":"2023-11-27T21:42:45.000Z","dependencies_parsed_at":"2023-02-09T09:17:09.697Z","dependency_job_id":null,"html_url":"https://github.com/nest-cloud/nestcloud-rbac-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nest-cloud/nestcloud-rbac-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nest-cloud%2Fnestcloud-rbac-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nest-cloud%2Fnestcloud-rbac-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nest-cloud%2Fnestcloud-rbac-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nest-cloud%2Fnestcloud-rbac-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nest-cloud","download_url":"https://codeload.github.com/nest-cloud/nestcloud-rbac-examples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nest-cloud%2Fnestcloud-rbac-examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28003392,"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-12-24T02:00:07.193Z","response_time":83,"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-11-18T02:11:02.075Z","updated_at":"2025-12-24T13:40:02.316Z","avatar_url":"https://github.com/nest-cloud.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n[travis-image]: https://api.travis-ci.org/nest-cloud/nestcloud.svg?branch=master\n[travis-url]: https://travis-ci.org/nest-cloud/nestcloud\n[linux-image]: https://img.shields.io/travis/nest-cloud/nestcloud/master.svg?label=linux\n[linux-url]: https://travis-ci.org/nest-cloud/nestcloud\n\n# NestCloud\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.npmjs.com/~nestcloud\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@nestcloud/common.svg\" alt=\"NPM Version\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/~nestcloud\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/@nestcloud/common.svg\" alt=\"Package License\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/~nestcloud\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/@nestcloud/common.svg\" alt=\"NPM Downloads\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://travis-ci.org/nest-cloud/nestcloud\" target=\"_blank\"\u003e\u003cimg src=\"https://travis-ci.org/nest-cloud/nestcloud.svg?branch=master\" alt=\"Travis\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://travis-ci.org/nest-cloud/nestcloud\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/travis/nest-cloud/nestcloud/master.svg?label=linux\" alt=\"Linux\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://coveralls.io/github/nest-cloud/nestcloud?branch=master\" target=\"_blank\"\u003e\u003cimg src=\"https://coveralls.io/repos/github/nest-cloud/nestcloud/badge.svg?branch=master\" alt=\"Coverage\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nA NodeJS micro-service solution based on Consul, writing by Typescript language and NestJS framework.\n\n## Dependency\n\n* Consul\n\n## Rbac Configurations\n\nPlease set this configurations into consul kv named nestcloud-rbac-examples-rbac.\n\n```yaml\nkind: Account\nname: test\n\n---\n\nkind: Role\nname: admin\nrules:\n  - resources: [\"hero\"]\n    verbs: [\"get\", \"list\"]\n\n---\n\nkind: RoleBinding\nrole: admin\naccounts:\n  - test\n\n```\n\n## How to run\n\n```bash\nyarn\nyarn start\n```\n\nThen visit http://localhost:3000/heros?user=test\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnest-cloud%2Fnestcloud-rbac-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnest-cloud%2Fnestcloud-rbac-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnest-cloud%2Fnestcloud-rbac-examples/lists"}