1.0.0 • Published 6 years ago

@konmuc/authz v1.0.0

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
6 years ago

authz

Build Status npm version codecov.io

The authorization layer for the konmuc website.

Warning: This is work in progress

@konmuc/authz has the following features:

  • Provides an express middleware for authorize apis.
  • Comes with a flexible RBAC (Role based access control) mechanismn.

Installation

To use this package in an express application, execute the following command:

npm install @konmuc/authz --save

Before continuing it is recommended to install also the following express packages:

npm install express body-parser mongoose --save

Usage

TODO

Testing

The @konmuc/authz package use intern as test runner.

To run the tests first run

npm install

Then execute in a bash

npm run test