1.9.1 • Published 11 months ago

nodegate v1.9.1

Weekly downloads
2
License
MIT
Repository
github
Last release
11 months ago

nodegate

The easy plugin to programmatically manage a horizontally scalable JSON API Gateway. Built on top of Express & Request.

Test and lint Dependencies status Version

const nodegate = require('nodegate');
const gate = nodegate();
const { aggregate } = nodegate.workers;

gate.route({
  method: 'get',
  path: '/user/:user',
  workflow: [
    aggregate('get', 'https://api.github.com/users/{params.user}'),
    aggregate('get', 'https://api.github.com/users/{params.user}/gists'),
  ],
});

gate.listen(8080);

Usage

Nodegate usage

This plugin will help you to solve the well known problem of API management. Some people are doing this by themselves, others by using complex tools or services. But even with this kind of systems you will have to program some mechanics. Nodegate helps you to programmatically configure, develop and run your API gateway, in the simple way.

Everything can be done by declaring routes with a workflow containing workers. Each worker modify a container for composing the response. That's it.

A bunch of workers are bundled with this plugin, but everyone can create more easily!

Documentation

The complete documentation can be found here

License

Copyright (c) Weekendesk SAS.

MIT

1.9.1

11 months ago

1.9.0

3 years ago

1.8.2

4 years ago

1.8.1

4 years ago

1.8.0

4 years ago

1.7.1

4 years ago

1.7.0

4 years ago

1.6.0

4 years ago

1.5.0

4 years ago

1.4.0

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago

0.8.2

5 years ago

0.8.1

5 years ago

0.8.0

5 years ago

0.7.0

5 years ago

0.6.0

5 years ago

0.5.0

5 years ago

0.4.0

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago

0.0.1

8 years ago