nest-redis-config
v1.1.0
Published
An alternative to the @nestjs/config package which uses redis to store data, so ur able to share that data across your Microservices.
Downloads
5
Maintainers
Readme
Nestjs Redis Config
Example
The example Microservice can be found here.
Benefits
Shared Configuration: By using Redis as a central store for configuration, you can easily share configuration data across multiple microservices.
Real-time Updates: Changes to configuration in Redis are immediately available to all microservices, allowing for real-time updates without needing to restart your services.
Scalability: Redis is highly scalable and can handle large amounts of data, making it suitable for large applications with many microservices.
Performance: Redis is an in-memory database, so reading and writing configuration data is fast.
Persistence: Redis provides data persistence, so your configuration data won't be lost even if Redis goes down or is restarted.
Ease of Use: This package integrates seamlessly with NestJS, making it easy to use Redis for configuration in your NestJS applications. It's just feels like using the @nestjs/config package.
Installation
npm install
Running the app
# development
npm run dev
# build
npm run build