# rest-amqp

> Rest API using amqp protocol build on nodejs

Latest version **0.0.1** (published 2015-09-22) · ISC license · 0 weekly downloads

## Install

```sh
npm install rest-amqp
pnpm add rest-amqp
yarn add rest-amqp
bun add rest-amqp
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2015-09-22 |
| First published | 2015-09-22 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Bikash Kumar Sharma |
| Maintainers | bikashsharma.bks |
| Keywords | rest, api, microservice, ampq |

## Links

- npm: https://www.npmjs.com/package/rest-amqp
- Repository: https://github.com/bikashsharmabks/rest-amqp
- Homepage: https://github.com/bikashsharmabks/rest-amqp#readme
- Issues: https://github.com/bikashsharmabks/rest-amqp/issues
- npm.io page: https://npm.io/package/rest-amqp

## Dependencies (4)

- [amqp](https://npm.io/package/amqp.md) ^0.2.4
- [debug](https://npm.io/package/debug.md) ^2.2.0
- [restify](https://npm.io/package/restify.md) ^4.0.0
- [node-uuid](https://npm.io/package/node-uuid.md) ^1.4.3

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2015-09-22

## README

# rest-amqp
Rest API using amqp protocol build on nodejs
http://bikashsharmabks.github.io/rest-amqp

Topic Exchange library based on AMQP protocol.
Tested with RabbitMQ on the highload project.


###Install RabitMQ
    apt-get install rabbitmq-server

###Sample code in sample.js
    var restAMQP = require('../index').init();
    var debug    = require('debug')('rest-amqp-sample');

    restAMQP.get('/hi/:id', function (req, res) {
        debug('here i need to write business logic');
        res.send(200, {name: req.params.id});
    });
    
    restAMQP.listen(8081);

###Output
    GET http://localhost:8081/hi/aj?a=1
    {
        "name": "aj"
    }

---
_Source: https://npm.io/package/rest-amqp · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
