This contains resources that have any server configuration, as well as a certain place to store any utility processes that can be shared across any application. We can have centralized configurations, such aslogger, cache, elk, and so on:
- common: This has an instantiation of the logger module, which can be shared across the entire application. This module is based on winston (https://www.npmjs.com/package/winston).
- config: This has vendor-specific implementations. We will have express configuration and express middleware defined here, as well as all the important configurations for organizing the REST API endpoints.
- custom-middleware: This folder will have all our custom-written middleware, which we can utilize in any controller ...