Files
Eventment-API/config.js
2019-08-20 15:11:33 -04:00

60 lines
1.4 KiB
JavaScript

module.exports = {
name: 'Eventment.io API',
env: process.env.NODE_ENV || 'development',
port: process.env.PORT || 3001,
base_url: process.env.BASE_URL || 'http://localhost:3001',
api: {
url: 'http://localhost:3001',
},
db: {
uri: process.env.MONGODB_URI || 'mongodb://127.0.0.1:27017/wEvent-dev',
},
version: '0.1.0',
assetStoreUrl: 'https://www.google.com/',
mail: {
smtp: {
host: 'mail.fitz.guru',
port: 587,
secure: false,
auth: {
user: 'donotreply@eventment.io',
pass: '3ventment.eieio',
},
tls: {
rejectUnauthorized: false,
},
},
from: {
address: 'donotreply@eventment.io',
name: 'Eventment.io Support',
},
},
security: {
jwt: {
audience: 'Eventment.io',
daysValid: 365,
issuer: 'patrons.eventment.io',
secret: 'Th!sIs a d3v3lopm3nt server $#cr¢T.',
},
reset: {
route: '/reset',
tokenPlaceholder: ':reset_token',
},
confirm: {
route: '/confirm',
tokenPlaceholder: ':confirm_token',
},
},
services: {
apple: {},
facebook: {
appId: '2359355590971136',
appSecret: 'a5703f7d0af8e694aec5bd4175a85d6b',
},
google: {
appId: '442412638360-p0idffou0qlpgor7agideudb1dh10mpf.apps.googleusercontent.com',
appSecret: 'a7fmS7Wc9Ssycr21WXdQ4TYl',
},
},
};