0.16.0 • Published 7 years ago

maf-http v0.16.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

maf-http

http handling powered with express and joi

stability-unstable

usage

const Http = require('maf-http');
const express = require('express');

const app = express();

// add your middlewares: body-parser, cookie-parser, etc

// then create maf-http instance and init http methods with request validation

const http = new Http(logger, config);

// init di with models, apis, etc this object will be in every request object
const di = {};

http.initApp(app, di)
    .then(app => http.initMethods(app, di))
    .catch((error) => {

    })

API

docs/api

LICENSE

MIT

0.16.0

7 years ago

0.15.0

7 years ago

0.14.0

7 years ago

0.13.1

7 years ago

0.13.0

7 years ago

0.12.0

7 years ago

0.11.0

7 years ago

0.10.0

7 years ago

0.9.0

7 years ago

0.9.0-beta.6

7 years ago

0.9.0-beta.5

7 years ago

0.9.0-beta.3

7 years ago

0.9.0-beta.2

7 years ago

0.9.0-beta.1

7 years ago

0.9.0-beta.0

7 years ago

0.8.1

7 years ago

0.8.0

7 years ago

0.7.0

7 years ago

0.6.0

7 years ago

0.5.0

7 years ago

0.4.4

7 years ago

0.4.3

7 years ago

0.4.2

7 years ago

0.4.1

7 years ago

0.4.0

7 years ago

0.3.0

7 years ago

0.2.5

7 years ago

0.2.4

7 years ago

0.2.3

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago