- Initial commit... A DB, some routes, and basic authentication routines...
This commit is contained in:
30
config.js
Normal file
30
config.js
Normal file
@@ -0,0 +1,30 @@
|
||||
module.exports = {
|
||||
name: 'wEvent API',
|
||||
env: process.env.NODE_ENV || 'development',
|
||||
port: process.env.PORT || 3001,
|
||||
base_url: process.env.BASE_URL || 'http://localhost:3000',
|
||||
db: {
|
||||
uri: process.env.MONGODB_URI || 'mongodb://127.0.0.1:27017/wEvent-dev',
|
||||
},
|
||||
version: '0.0.1',
|
||||
assetStoreUrl: 'https://www.google.com/',
|
||||
services: {
|
||||
apple: {},
|
||||
facebook: {
|
||||
appId: '2359355590971136',
|
||||
appSecret: 'a5703f7d0af8e694aec5bd4175a85d6b',
|
||||
},
|
||||
google: {
|
||||
appId: '442412638360-p0idffou0qlpgor7agideudb1dh10mpf.apps.googleusercontent.com',
|
||||
appSecret: 'a7fmS7Wc9Ssycr21WXdQ4TYl',
|
||||
},
|
||||
},
|
||||
security: {
|
||||
jwt: {
|
||||
audience: 'wEvents.io',
|
||||
daysValid: 365,
|
||||
issuer: 'patrons.wEvents.io',
|
||||
secret: 'Th!sIs a d3v3lopm3nt server $#cr¢T.',
|
||||
},
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user