Skip to content

An alternative to the @nestjs/config package which uses redis to store data, so ur able to share that data across your Microservices.

License

Notifications You must be signed in to change notification settings

uhmpasterig/nest-redis-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nestjs Redis Config

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.

GitHub issues GitHub forks GitHub stars GitHub license NPM version

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

About

An alternative to the @nestjs/config package which uses redis to store data, so ur able to share that data across your Microservices.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published