UNPKG

redis-smq-rest-api

Version:

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

57 lines (40 loc) โ€ข 2.7 kB
# RedisSMQ REST API > [!NOTE] > You are viewing the documentation for the "master" branch. These docs describe the latest stable release. > For pre-release documentation, see: > > - Next (pre-release) README: https://github.com/weyoss/redis-smq/tree/next/packages/redis-smq-rest-api > - Latest release notes/tags: https://github.com/weyoss/redis-smq/releases/latest > - Install stable packages with @latest; pre-release with @next. [![Stable](https://img.shields.io/npm/v/redis-smq-rest-api/latest?style=flat-square&label=redis-smq-rest-api%40latest)](https://github.com/weyoss/redis-smq/releases/latest) [![Code Coverage (master)](https://img.shields.io/codecov/c/github/weyoss/redis-smq/master?flag=redis-smq-rest-api&style=flat-square)](https://app.codecov.io/github/weyoss/redis-smq/tree/master/packages/redis-smq-rest-api) 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 redis-smq-common redis-smq-rest-api --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/master/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/master/packages/redis-smq-rest-api/docs/README.md): ## Related packages - [redis-smq](https://github.com/weyoss/redis-smq/tree/master/packages/redis-smq/README.md): Core message queue - [redis-smq-common](https://github.com/weyoss/redis-smq/tree/master/packages/redis-smq-common/README.md): Shared components/utilities - [redis-smq-web-server](https://github.com/weyoss/redis-smq/tree/master/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/master/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/master/LICENSE).