1.1.0 • Published 1 year ago

nest-redis-config v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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