- Initial commit... A DB, some routes, and basic authentication routines...

This commit is contained in:
2019-07-04 16:19:30 -04:00
commit d9a2d33913
32 changed files with 3465 additions and 0 deletions

30
config.js Normal file
View 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.',
},
},
};