This repository has been archived by the owner on Aug 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding the default config/env/local.js instance
- Loading branch information
Showing
2 changed files
with
58 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
'use strict'; | ||
|
||
// This local.js file is for local development only, and it doesn't get committed to the repository. | ||
// Use this file for your api keys, secrets, etc which you don't want to commit to | ||
|
||
module.exports = { | ||
db: { | ||
uri: 'mongodb://localhost/local-dev', | ||
options: { | ||
user: '', | ||
pass: '' | ||
} | ||
}, | ||
log: { | ||
// Can specify one of 'combined', 'common', 'dev', 'short', 'tiny' | ||
format: 'dev', | ||
// Stream defaults to process.stdout | ||
// Uncomment to enable logging to a log on the file system | ||
options: { | ||
//stream: 'access.log' | ||
} | ||
}, | ||
facebook: { | ||
clientID: process.env.FACEBOOK_ID || 'APP_ID', | ||
clientSecret: process.env.FACEBOOK_SECRET || 'APP_SECRET', | ||
callbackURL: '/auth/facebook/callback' | ||
}, | ||
twitter: { | ||
clientID: process.env.TWITTER_KEY || 'CONSUMER_KEY', | ||
clientSecret: process.env.TWITTER_SECRET || 'CONSUMER_SECRET', | ||
callbackURL: '/auth/twitter/callback' | ||
}, | ||
google: { | ||
clientID: process.env.GOOGLE_ID || 'APP_ID', | ||
clientSecret: process.env.GOOGLE_SECRET || 'APP_SECRET', | ||
callbackURL: '/auth/google/callback' | ||
}, | ||
linkedin: { | ||
clientID: process.env.LINKEDIN_ID || 'APP_ID', | ||
clientSecret: process.env.LINKEDIN_SECRET || 'APP_SECRET', | ||
callbackURL: '/auth/linkedin/callback' | ||
}, | ||
github: { | ||
clientID: process.env.GITHUB_ID || 'APP_ID', | ||
clientSecret: process.env.GITHUB_SECRET || 'APP_SECRET', | ||
callbackURL: '/auth/github/callback' | ||
}, | ||
mailer: { | ||
from: process.env.MAILER_FROM || 'MAILER_FROM', | ||
options: { | ||
service: process.env.MAILER_SERVICE_PROVIDER || 'MAILER_SERVICE_PROVIDER', | ||
auth: { | ||
user: process.env.MAILER_EMAIL_ID || 'MAILER_EMAIL_ID', | ||
pass: process.env.MAILER_PASSWORD || 'MAILER_PASSWORD' | ||
} | ||
} | ||
} | ||
}; |