Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Configurations

Abdullah Alharbi edited this page Feb 11, 2021 · 4 revisions

Th new configuration system is amazing

  1. scalable
  2. uses by default environment variables
  3. easy to learn & extend

The new configurations structure

|-- database.js # all database configurations even knex configurations are here
|-- eri.js # CLI related configurations
|-- index.js # basic loader
|-- logger.js # all winston configurations 
|-- middleware.js # middleware configurations cors, helmet, etc...
|-- server.js # express server configurations
`-- views.js # handlebars configurations
Clone this wiki locally