UNPKG

redis-smq-rest-api

Version:

REST API for RedisSMQ: OpenAPI 3 schema and Swagger UI for managing queues, messages, and consumers.

53 lines (34 loc) โ€ข 2.05 kB
# RedisSMQ REST API __IS_NEXT_NOTE__ __NPM_BADGE__ __CODECOV_BADGE__ RedisSMQ REST API provides an HTTP interface enabling any web-capable application to interact with the RedisSMQ message queue using a RESTful API. ## Features - ๐Ÿš€ Clean and efficient implementation - โœ… Strict request/response validation using [JSON Schema](https://json-schema.org/) - ๐Ÿ“š Native [OpenAPI v3](https://www.openapis.org/) support and [Swagger UI](https://swagger.io/) - ๐Ÿงช 90%+ code coverage with extensive testing - ๐Ÿ“ฆ Support for both ESM & CJS modules ## Installation ```bash # Using npm npm install redis-smq__TAG_SUFFIX__ redis-smq-common__TAG_SUFFIX__ redis-smq-rest-api__TAG_SUFFIX__ --save ``` Don't forget to install a Redis client. Choose either node-redis or ioredis: ```shell npm install @redis/client --save # or npm install ioredis --save ``` ## Version Compatibility Always install matching versions of RedisSMQ packages to ensure compatibility. See [version compatibility](https://github.com/weyoss/redis-smq/tree/__BRANCH_NAME__/packages/redis-smq/docs/version-compatibility.md) for details. ## Documentation For in-depth guides and API references, see [the documentation page](https://github.com/weyoss/redis-smq/tree/__BRANCH_NAME__/packages/redis-smq-rest-api/docs/README.md): ## Related packages - [redis-smq](https://github.com/weyoss/redis-smq/tree/__BRANCH_NAME__/packages/redis-smq/README.md): Core message queue - [redis-smq-common](https://github.com/weyoss/redis-smq/tree/__BRANCH_NAME__/packages/redis-smq-common/README.md): Shared components/utilities - [redis-smq-web-server](https://github.com/weyoss/redis-smq/tree/__BRANCH_NAME__/packages/redis-smq-web-server/README.md): Static hosting + in-process or proxied API - [redis-smq-web-ui](https://github.com/weyoss/redis-smq/tree/__BRANCH_NAME__/packages/redis-smq-web-ui/README.md): SPA for monitoring and managing RedisSMQ ## License RedisSMQ REST API is released under the [MIT License](https://github.com/weyoss/redis-smq/tree/__BRANCH_NAME__/LICENSE).