1.1.1 • Published 5 years ago

@back4app/back4app-settings v1.1.1

Weekly downloads
-
License
Unlicense
Repository
github
Last release
5 years ago

back4app-settings

Project which aims to concentrate common settings among back4app projects, such as URLs definitions.

It uses nconf to retrieve the running environment and define the settings. The environment variable used define the settings is NODE_ENV. Each environment should have its own configuration. There should have at least three: dev, homolog and production.

For consistency purposes, no setting should be left as undefined or null.

How to install

$ npm install --save @back4app/back4app-settings

How to use it

const settings = require('@back4app/back4app-settings')
console.log(settings.YOUR_SETTING)
1.1.1

5 years ago

1.1.0

5 years ago

1.0.4

5 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago