diff --git a/lib/config.js.example b/lib/config.js.example new file mode 100755 index 0000000..5fdc1ed --- /dev/null +++ b/lib/config.js.example @@ -0,0 +1,49 @@ +// Product Configuration + +exports.product = { + name: 'Postmile' +}; + + +// Server Configuration + +exports.server = { + web: { + host: 'monterey.hueniverse.net', + port: 8000 + }, + api: { + host: 'monterey.hueniverse.net', + port: 8001 + } +}; + +exports.server.web.uri = (exports.server.web.tls ? 'https://' : 'http://') + exports.server.web.host + ':' + exports.server.web.port; +exports.server.api.uri = (exports.server.api.tls ? 'https://' : 'http://') + exports.server.api.host + ':' + exports.server.api.port; + + +// Database Configuration + +exports.database = { + host: '127.0.0.1', + port: 27017, + db: 'postmile' +}; + + +// Email Configuration + +exports.email = { + fromName: 'Postmile', + replyTo: 'no-reply@hammer.io', + admin: 'eran@hammer.io', + feedback: 'eran@hammer.io', + server: { +// port: 25, +// user: '', +// password: '', +// host: 'localhost', +// ssl: false + } +}; + diff --git a/lib/vault.js.example b/lib/vault.js.example new file mode 100755 index 0000000..211b387 --- /dev/null +++ b/lib/vault.js.example @@ -0,0 +1,74 @@ +// Email token + +exports.emailToken = { + aes256Key: '934nx93485n9348y5nx347y5xb' +}; + + +// Oz token + +exports.ozTicket = { + password: 'x3nq9485nx93845x93845nx3948' +}; + + +// Database credentials + +exports.database = { + username: '', + password: '' +}; + + +// Jar encryption key + +exports.yar = { + password: '8udnx589qx34u5n93q48un5dx4' +}; + + +// Session token encryption key + +exports.session = { + password: 'xc9348u5n9384u5n93485nu934' +}; + + +// Postmile API + +exports.apiClient = { + id: '52db87c1f809334d61000001', + key: '6AwYvqT9lgx594P2PRiu6cWCuAZAbVkd6Zkschk78OYZdmEG07w3WicWttgf2CCG', + algorithm: 'sha256' +}; + +exports.viewClient = { + id: '52db87c1f809334d61000002', + key: '', + algorithm: 'sha256' +}; + + +// Twitter + +exports.twitter = { + clientId: '', + clientSecret: '' +}; + + +// Facebook + +exports.facebook = { + clientId: '', + clientSecret: '', +}; + + +// Yahoo! + +exports.yahoo = { + clientId: '', + clientSecret: '' +}; +