1
0
mirror of https://github.com/franjsco/umbrello-api synced 2024-12-27 00:12:39 +01:00
umbrello-api/src/config.js
2019-08-22 17:42:37 +02:00

32 lines
452 B
JavaScript

require('dotenv').config();
const owm = {
token: process.env.OWM_TOKEN,
baseurl: 'http://api.openweathermap.org/data/2.5',
lang: process.env.OWM_LANG,
units: process.env.OWM_UNITS,
};
const database = {
host: process.env.DB_HOST,
user: process.env.DB_USER,
password: process.env.DB_PASSWORD,
};
const telegram = {
token: process.env.TELEGRAM_TOKEN,
};
const config = {
owm,
telegram,
database,
};
export default config;