All Projects → cuo9958 → node-config

cuo9958 / node-config

Licence: MIT license
nodejs的配置中心

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
Less
1899 projects

Projects that are alternatives of or similar to node-config

Winton.extensions.configuration.consul
Enables Consul to be used as a configuration source in dotnet core applications
Stars: ✭ 239 (+350.94%)
Mutual labels:  config
nvim
No description or website provided.
Stars: ✭ 13 (-75.47%)
Mutual labels:  config
dotfiles
My collection of dotfiles
Stars: ✭ 77 (+45.28%)
Mutual labels:  config
Vscode Data Preview
Data Preview 🈸 extension for importing 📤 viewing 🔎 slicing 🔪 dicing 🎲 charting 📊 & exporting 📥 large JSON array/config, YAML, Apache Arrow, Avro, Parquet & Excel data files
Stars: ✭ 245 (+362.26%)
Mutual labels:  config
ini
📝 Go INI config management. support multi file load, data override merge. parse ENV variable, parse variable reference. Dotenv file parse and loader. INI配置读取管理,支持多文件加载,数据覆盖合并, 解析ENV变量, 解析变量引用。DotEnv 解析加载
Stars: ✭ 72 (+35.85%)
Mutual labels:  config
Webpack5-Max
Webpack 5 Boilerplate for JS/React/TS apps.
Stars: ✭ 103 (+94.34%)
Mutual labels:  config
Config
📝 Go config manage(load,get,set). support JSON, YAML, TOML, INI, HCL, ENV and Flags. Multi file load, data override merge, parse ENV var. Go应用配置加载管理,支持多种格式,多文件加载,远程文件加载,支持数据合并,解析环境变量名
Stars: ✭ 225 (+324.53%)
Mutual labels:  config
profig
A straightforward configuration library for Python.
Stars: ✭ 26 (-50.94%)
Mutual labels:  config
dotfiles
My personal set of dotfiles (Managed with Stow)
Stars: ✭ 34 (-35.85%)
Mutual labels:  config
rimerc
rimerc: rimer's dictionary & config
Stars: ✭ 228 (+330.19%)
Mutual labels:  config
Yay Evil Emacs
😈 A lightweight literate Emacs config with even better "better defaults". Shipped with a custom theme!
Stars: ✭ 250 (+371.7%)
Mutual labels:  config
config utilities
Utility tools to make working with config structs for (ROS) C++ libraries more uniform, readable and convenient.
Stars: ✭ 19 (-64.15%)
Mutual labels:  config
juno-agent
juno-agent
Stars: ✭ 46 (-13.21%)
Mutual labels:  config
Webpack Config
Helps to load, extend and merge webpack configs
Stars: ✭ 244 (+360.38%)
Mutual labels:  config
nim config
Global project-agnostic config.nims
Stars: ✭ 54 (+1.89%)
Mutual labels:  config
Konf
A type-safe cascading configuration library for Kotlin/Java/Android, supporting most configuration formats
Stars: ✭ 225 (+324.53%)
Mutual labels:  config
dotfiles
/home/yous
Stars: ✭ 43 (-18.87%)
Mutual labels:  config
hb-config
hb-config: easy to configure your python project especially Deep Learning experiments
Stars: ✭ 21 (-60.38%)
Mutual labels:  config
dotfiles
The config that makes me a productivity whiz 🧙‍♂️
Stars: ✭ 36 (-32.08%)
Mutual labels:  config
DazzleConf
Incredible configuration library
Stars: ✭ 34 (-35.85%)
Mutual labels:  config

全新的 nodejs 开发的轻量级配置中心

星星数 reactjs nodejs

  1. 全新改版,使用到的技术全部替换
  2. 使用快照存储配置内容
  3. 启动即加载全部内容,通过MQ通知更新

使用方式

  1. 下载项目:https://github.com/cuo9958/node-config/archive/master.zip
  2. 解压并安装依赖:npm install
  3. 创建自己的配置文件并修改对应的配置
  4. 启动项目,依赖 pm2 的可以修改 pm2.json 文件,依赖 docker 的可以修改 docker 文件

版本 v1.1

  1. 添加灰度配置
  2. 根据用户的 head 中的 clientid 和 uid 做灰度

想继续研究 socket 消息,rpg 方案的可以查看另外一个项目:https://github.com/cuo9958/node-socket

示例展示

首页

第一版本 v1.0

  1. 第一个版本没有使用客户端和服务器通讯的模式
  2. 配置内容基于接口的情况获取,更适合 web、app 等模式获取配置

版本 v2.0.1

  1. redis 订阅发布模式偶尔有抖动,切换成 mq 的广播模式

版本 2.0.2

  1. 修改新的模式
  2. 增加访客模式,用户名密码不再调用数据库,改用配置,后期增加用户鉴权的插件
  3. 图片压缩库需要梯子才能下载,下载内容位于 github 上面。目前暂时关闭
  4. 增加不使用 mq 的场景
    // "imagemin-gifsicle": "6.0.1",
    // "imagemin-jpegtran": "6.0.0",
    // "imagemin-optipng": "7.0.0",
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].