57 lines
1.3 KiB
JavaScript
57 lines
1.3 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: 'noreply@eventment.io',
|
|
pass: '3ventment.eieio',
|
|
},
|
|
},
|
|
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',
|
|
},
|
|
},
|
|
};
|