Table of Contents |
---|
...
...
- Given a
NODE_CONFIG_DIR
environment variable it will load adefault.json
in that path, the default here is./config
. - When the
NODE_ENV
is notdevelopment
, also try to load<NODE_ENV>.json
in that path and merge both configurations (with<NODE_ENV>.json
taking precedence) - Go through each configuration value and sets it on the application (via
app.set(name, value)
).- If the value is a valid environment variable (e.v.
NODE_ENV
), use its value instead - If the value start with
./
or../
turn it to an absolute path relative to the configuration file path - If the value starts with a
\
, do none of the above two
- If the value is a valid environment variable (e.v.
Feathers Examples
Query with custom limit set for returned items in list
{{base_url}}/m-countries/?show=yes&$limit=100
Feathers modules
Feathers Development Model
...