-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into chore/156100324/nazgul-cfh-landing-ui
- Loading branch information
Showing
23 changed files
with
596 additions
and
265 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,20 @@ | ||
MONGOHQ_URL=<THE MONGODB LOCALHOST URL> | ||
SECRET=<YOUR JWT SECRET> | ||
MONGOHQ_URL_TEST=<THE MONGODB LOCALHOST TEST URL> | ||
|
||
SECRET=<YOUR JWT SECRET> | ||
|
||
FB_CLIENT_ID=<FACEBOOK CLIENT ID> | ||
FB_CLIENT_SECRET=<FACEBOOK CLIENT SECRET> | ||
FB_CALLBACK_URL==<FACEBOOK CALLBACK URL> | ||
|
||
TWITTER_CONSUMER_KEY=<TWITTER_CONSUMER_KEY ID> | ||
TWITTER_CONSUMER_SECRET=<TWITTER_CONSUMER_SECRET> | ||
TWITTER_CALLBACK_URL=<TWITTER CALLBACK URL> | ||
|
||
GOOGLE_CLIENT_ID=<GOOGLE_CLIENT_ID> | ||
GOOGLE_CLIENT_SECRET=<GOOGLE_CLIENT_SECRET> | ||
GOOGLE_CALLBACK_URL=<GOOGLE_CALLBACK_URL> | ||
|
||
GITHUB_CLIENT_ID=<GITHUB_CLIENT_ID> | ||
GITHUB_CLIENT_SECRET=<GITHUB_CLIENT_SECRET> | ||
GITHUB_CALLBACK_URL=<GITHUB_CALLBACK_URL |
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,2 @@ | ||
public/lib/ | ||
server.js |
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,23 @@ | ||
export default { | ||
name: 'nazgul-cfh', | ||
scripts: { | ||
}, | ||
env: { | ||
MONGOHQ_URL: { | ||
required: true | ||
} | ||
}, | ||
formation: { | ||
web: { | ||
quantity: 1 | ||
} | ||
}, | ||
addons: [ | ||
|
||
], | ||
buildpacks: [ | ||
{ | ||
url: 'heroku/nodejs' | ||
} | ||
] | ||
}; |
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
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 |
---|---|---|
@@ -1,7 +1,9 @@ | ||
var _ = require('underscore'); | ||
const _ = require('underscore'); | ||
|
||
// Load app configuration | ||
|
||
module.exports = _.extend( | ||
require(__dirname + '/../config/env/all.js'), | ||
require(__dirname + '/../config/env/' + process.env.NODE_ENV + '.json') || {}); | ||
require(`${__dirname}/../config/env/all.js`), | ||
/* eslint-disable */ | ||
require(`${__dirname}/../config/env/${process.env.NODE_ENV}.js`) || {} | ||
); | ||
|
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
var path = require('path'), | ||
rootPath = path.normalize(__dirname + '/../..'); | ||
rootPath = path.normalize(__dirname + '/../..'); | ||
var keys = rootPath + '/keys.txt'; | ||
|
||
module.exports = { | ||
root: rootPath, | ||
port: process.env.PORT || 3001, | ||
db: process.env.MONGOHQ_URL | ||
root: rootPath, | ||
port: process.env.PORT || 3001, | ||
db: process.env.MONGOHQ_URL | ||
}; |
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,28 @@ | ||
|
||
export default { | ||
port: 3001, | ||
db: process.env.MONGOHQ_URL, | ||
app: { | ||
name: 'Cards for Humanity - Development' | ||
}, | ||
facebook: { | ||
clientID: 'APP_ID', | ||
clientSecret: 'APP_SECRET', | ||
callbackURL: 'http://localhost:3000/auth/facebook/callback' | ||
}, | ||
twitter: { | ||
clientID: 'CONSUMER_KEY', | ||
clientSecret: 'CONSUMER_SECRET', | ||
callbackURL: 'http://localhost:3000/auth/twitter/callback' | ||
}, | ||
github: { | ||
clientID: 'APP_ID', | ||
clientSecret: 'APP_SECRET', | ||
callbackURL: 'http://localhost:3000/auth/github/callback' | ||
}, | ||
google: { | ||
clientID: 'APP_ID', | ||
clientSecret: 'APP_SECRET', | ||
callbackURL: 'http://localhost:3000/auth/google/callback' | ||
} | ||
}; |
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,29 @@ | ||
export default { | ||
app: { | ||
name: 'Cards for Humanity' | ||
}, | ||
|
||
twitter: { | ||
clientID: process.env.TWITTER_CONSUMER_KEY, | ||
clientSecret: process.env.TWITTER_CONSUMER_SECRET, | ||
callbackURL: process.env.TWITTER_CALLBACK_URL | ||
}, | ||
|
||
facebook: { | ||
clientID: process.env.FB_CLIENT_ID, | ||
clientSecret: process.env.FB_CLIENT_SECRET, | ||
callbackURL: process.env.FB_CALLBACK_URL | ||
}, | ||
|
||
google: { | ||
clientID: process.env.GOOGLE_CLIENT_ID, | ||
clientSecret: process.env.GOOGLE_CLIENT_SECRET, | ||
callbackURL: process.env.GOOGLE_CALLBACK_URL | ||
}, | ||
|
||
github: { | ||
clientID: process.env.GITHUB_CLIENT_ID, | ||
clientSecret: process.env.GITHUB_CLIENT_SECRET, | ||
callbackURL: process.env.GITHUB_CALLBACK_URL | ||
}, | ||
}; |
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,29 @@ | ||
require('dotenv').config(); | ||
|
||
export default { | ||
port: 3001, | ||
db: process.env.MONGOHQ_URL_TEST, | ||
app: { | ||
name: 'Cards for Humanity - Test' | ||
}, | ||
facebook: { | ||
clientID: 'APP_ID', | ||
clientSecret: 'APP_SECRET', | ||
callbackURL: 'http://localhost:3000/auth/facebook/callback' | ||
}, | ||
twitter: { | ||
clientID: 'CONSUMER_KEY', | ||
clientSecret: 'CONSUMER_SECRET', | ||
callbackURL: 'http://localhost:3000/auth/twitter/callback' | ||
}, | ||
github: { | ||
clientID: 'APP_ID', | ||
clientSecret: 'APP_SECRET', | ||
callbackURL: 'http://localhost:3000/auth/github/callback' | ||
}, | ||
google: { | ||
clientID: 'APP_ID', | ||
clientSecret: 'APP_SECRET', | ||
callbackURL: 'http://localhost:3000/auth/google/callback' | ||
} | ||
}; |
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,30 @@ | ||
export default { | ||
port: 3001, | ||
app: { | ||
name: 'Cards for Humanity - Test on Travis' | ||
}, | ||
|
||
twitter: { | ||
clientID: process.env.TWITTER_CONSUMER_KEY, | ||
clientSecret: process.env.TWITTER_CONSUMER_SECRET, | ||
callbackURL: 'https://localhost:3000/auth/twitter/callback' | ||
}, | ||
|
||
facebook: { | ||
clientID: process.env.FB_CLIENT_ID, | ||
clientSecret: process.env.FB_CLIENT_SECRET, | ||
callbackURL: 'https://localhost:3000/auth/facebook/callback' | ||
}, | ||
|
||
google: { | ||
clientID: process.env.GOOGLE_CLIENT_ID, | ||
clientSecret: process.env.GOOGLE_CLIENT_SECRET, | ||
callbackURL: 'https://localhost:3000/auth/google/callback' | ||
}, | ||
|
||
github: { | ||
clientID: process.env.GITHUB_CLIENT_ID, | ||
clientSecret: process.env.GITHUB_CLIENT_SECRET, | ||
callbackURL: 'https://localhost:3000/auth/facebook/callback' | ||
}, | ||
}; |
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
Oops, something went wrong.