A demo shows how to use nest-authz to implement role-based access control.
$ npm install# development $ npm run start # watch mode $ npm run start:dev # production mode $ npm run start:prodOpen http://localhost:3000/api to see api. The api uses Bear auth schema, so if you want to access protected api, you should click the Authorize button and set Bearer yourjwttoken after login.
# unit tests $ npm run test