tsframework / ts-framework

A Web Framework for Nodejs
http://tsframework.github.io
MIT License
43 stars 6 forks source link

Vl conf refactor #31

Closed atrakeur closed 8 years ago

atrakeur commented 8 years ago

Refactored framework configuration management.

Also, configuration now use nconf package (see https://github.com/indexzero/nconf ) to avoid maintaining low level code ourself.

Loading from files allow the config to be gitignored easily (avoid credentials in code versionning). Also loading different files depending on the environnement allow the config to be switched easily.