A Nest.js package to store and get configuration, which uses Redis to store data, so ur able to share that data across your Microservices.
The example Microservice can be found here.
-
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.
npm install
# development
npm run dev
# build
npm run build