Open drewdaemon opened 3 years ago
@rgwozdz
@drewctate - I would suggest moving away from an appConfig.json in favor of the npm config
module; many other Koop providers use it, so we'll gain some consistency there.
@drewctate We're looking into a complete overhaul/update of the provider. We'll look at these ideas with that effort.
@dhatcher - do you have a timeline for your overhaul? @drewctate has an interest in starting this now (may have started it already). If he has started it, would you be able to assist or maybe do PR reviews?
This work is being done under the koop-4.x-update branch.
First round of proposed improvements
provider/models/esmodel.js
->src/model.js
and refactor to be an ES6 classModel
class constructor and nixapp.js
provider/controllers/index.js
->src/index.js
provider/utils.js
->src/utils.js
and refactor utils to be pure, classless JS functions exported from autils
module using a "bucket" file.Outstanding Questions
appConfig.json
and this bespoke cert-loading system into the standardized spec?