rba

1.0.1 • Public • Published

rba

Create Resource Based APIs.

Installation

npm install rba

Usage

const RBA = require('rba');
const resources = require('path-to-resources/resources.json');

RBA(resources, 3000, {
  logger: true,
});

API

RBA([resources, port], serverOptions)

To do

[ ] Add better API documentation
[ ] Add tests
[ ] Add more examples
[ ] Support multiple types of requests

Version: 1.0.1

Package Sidebar

Install

npm i rba

Weekly Downloads

4

Version

1.0.1

License

MIT

Unpacked Size

4.95 kB

Total Files

9

Last publish

Collaborators

  • christopy