The Meteor Settings File

Learn about the MeteorJS settings file and understand its sections.

The settings file

Meteor provides a way to store information such as keys and configuration data in a JSON file. This JSON file is added to the root of our project. We can call the file whatever we want, but the convention is that it’s usually named settings.json.

A JSON file is a human-readable file that ends in a .JSON file extension. It normally consists of an object with key-value pairs. Meteor exposes the values in the JSON file through the Meteor.settings object. Below is an example of a settings file:

Get hands-on with 1400+ tech skills courses.