This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
FunctionProject/backend/assets/config/config.js
Divlo c9f817930c backend: Ajout de Sequelize, GET /functions
TODO: Trier par catégorie et chercher les fonctions
2020-03-20 16:49:45 +01:00

12 lines
304 B
JavaScript

const config = {
PORT: process.env.PORT || 8080,
WEATHER_API_KEY: process.env.OpenWeatherMap_API_KEY,
DATABASE: {
host: process.env.DB_HOST,
name: process.env.DB_NAME,
user: process.env.DB_USER,
password: process.env.DB_PASS
},
};
module.exports = config;