Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 1.79 KB

README.md

File metadata and controls

56 lines (39 loc) · 1.79 KB

NestCloud

NPM Version Package License NPM Downloads Travis Linux Coverage

A NodeJS micro-service solution based on Consul, writing by Typescript language and NestJS framework.

Dependency

  • Consul

Rbac Configurations

Please set this configurations into consul kv named nestcloud-rbac-examples-rbac.

kind: Account
name: test

---

kind: Role
name: admin
rules:
  - resources: ["hero"]
    verbs: ["get", "list"]

---

kind: RoleBinding
role: admin
accounts:
  - test

How to run

yarn
yarn start

Then visit http://localhost:3000/heros?user=test