1.0.7 • Published 6 years ago

awilix-groa v1.0.7

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

awilix-groa

UNDER CONSTRUCTION, please come back later

CircleCI tested with jest Coverage Status semantic-release Commitizen friendly

Awilix helpers, router and scope-instanatiating middleware for groa. This does for groa and groa-router what awilix-koa does for koa and koa-router, i.e. enables grpc server development using middleware and dependency injection, with routing support.

Requirements

Requires Node v7.6+, as groa depends on async/await support.

Installation

npm install --save awilix-koa

Motivation

See the discussion in awilix-koa.

Differences vs. awilix-koa

This library mimics awilix-koa wherever possible, and it uses the same underlying awilix-router-core library.

The main difference is that grpc does not use verbs (i.e GET, POST, etc.) so the the verb-related builder methods and decorators are not supported. Instead, the builder supports an rpc method (builder pattern) and there is an @RPC decorator to declare rpc methods (decorator pattern).

Documentation

More detailed library documentation is here (in progress).

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago