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
Markdown
# 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.
[](https://github.com/weyoss/redis-smq/releases/latest)
[](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).