git clone https://github.com/sethbergman/dashboardAuth-hbs.git && cd dashboardAuth-hbs
npm install
- Create a file in the
config
folder calledauth.js
. - It should have something like the following in the file:
module.exports = {
'facebookAuth' : {
'clientID' : '1112223334445557777777',
'clientSecret' : '111abc222def333ghi444jkl555mnopqr7777777',
'callbackURL' : '//dashboard-hbs.stackriot.com/auth/facebook/callback'
},
'twitterAuth' : {
'consumerKey' : '1112223334445557777777',
'consumerSecret' : '111abc222def333ghi444jkl555mnopqr7777777',
'callbackURL' : '//dashboard-hbs.stackriot.com/auth/twitter/callback'
},
'googleAuth' : {
'clientID' : '123-1112223334445557777777.apps.googleusercontent.com',
'clientSecret' : '111abc222def333ghi444jkl555mnopqr7777777',
'callbackURL' : '//dashboard-hbs.stackriot.com/auth/google/callback'
},
'githubAuth' : {
'clientID' : '1112223334445557777777',
'clientSecret' : '111abc222def333ghi444jkl555mnopqr7777777',
'callbackURL' : '//dashboard-hbs.stackriot.com/auth/github/callback'
},
};
Create a file in the config
folder called database.js
.
- It should have something like the following in the file:
module.exports = {
'url' : 'mongodb://mongouser:[email protected]:03162/mongoname'
};
npm start