https://github.com/sethbergman/dashboardauth-hbs
Dashboard with user authentication in Express + Handlebars
https://github.com/sethbergman/dashboardauth-hbs
dashboard dashboardauth-hbs handlebars
Last synced: 2 months ago
JSON representation
Dashboard with user authentication in Express + Handlebars
- Host: GitHub
- URL: https://github.com/sethbergman/dashboardauth-hbs
- Owner: sethbergman
- Created: 2016-05-28T12:00:47.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-07-24T21:34:58.000Z (almost 7 years ago)
- Last Synced: 2024-12-26T20:42:37.871Z (4 months ago)
- Topics: dashboard, dashboardauth-hbs, handlebars
- Language: CSS
- Homepage:
- Size: 1.21 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dashboardAuth-hbs
### Dashboard with user authentication - built with Express and Handlebars[](https://greenkeeper.io/)
********************************
[ ](https://codeship.com/projects/159315)### Clone
```
git clone https://github.com/sethbergman/dashboardAuth-hbs.git && cd dashboardAuth-hbs
```
### Install dependencies:
```
npm install
```
### Setup configuration scripts:
* Create a file in the `config` folder called `auth.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'
};
```
### Start the app!
```
npm start
```
### Visit [//0.0.0.0:5000](//0.0.0.0:5000) in your browser.