redis-koa-app-rpf

0.7.15 • Public • Published

redis-koa-app-rpf

Redis Koa2 application archetype.

Named in honour of https://en.wikipedia.org/wiki/Richard_Feynman

This provides lifecycle boilerplate reused across similar applications.

Usage

The app's index.js entry-point uses the redis-koa-app-rpf application archetype.

require('redis-koa-app-rpf')(
    require('../package'),
    require('./spec'),
    require('./main')
).catch(err => {
    console.error(err);
});

where we extract the config from process.env according to the spec and invoke our main function.

Implementation

See index.js https://github.com/evanx/redis-koa-app-rpf/blob/master/index.js

Uses

Used by:

Inter alia:


https://twitter.com/@evanxsummers

Readme

Keywords

none

Package Sidebar

Install

npm i redis-koa-app-rpf

Weekly Downloads

3

Version

0.7.15

License

ISC

Last publish

Collaborators

  • evanx