A new lightweight configuration center for nodejs development
- Newly redesigned, all the technologies used are replaced
- Use snapshot storage to configure content
- Load all contents by starting and update via MQ notification
How to use
- Download the project: https://github.com/cuo9958/node-config/archive/master.zip
- Unzip and install dependencies:
npm install - Create your own configuration file and modify the corresponding configuration
- Start the project, you can modify the pm2.json file if you depend on pm2, and you can modify the docker file if you depend on docker.
Version v1.1
- Add grayscale configuration
- Grayscale based on clientid and uid in user's head
If you want to continue to study socket messages, you can view another project for rpg scheme: https://github.com/cuo9958/node-socket
Sample display

First version v1.0
- The first version does not use the client and server communication mode
- The configuration content is obtained based on the interface, which is more suitable for the acquisition of configuration in web, app and other modes.
Version v2.0.1
- Redis subscription publishing mode occasionally has jitter, switch to mq broadcast mode
Version 2.0.2
- Modify a new mode
- Added guest mode, no longer call the database by username and password, use configuration instead, add user authentication plug-in later
- The image compression library requires a ladder to download, and the download content is located on github. Currently temporarily closed
- Add scenarios where mq is not used
// "imagemin-gifsicle": "6.0.1",
// "imagemin-jpegtran": "6.0.0",
// "imagemin-optipng": "7.0.0",