Initial Commit

This commit is contained in:
Wingysam 2018-11-20 14:19:58 -05:00
commit f54d97e4a9
30 changed files with 2532 additions and 0 deletions

8
config/index.js Normal file
View file

@ -0,0 +1,8 @@
require('dotenv').config();
module.exports = {
dbUrl: process.env.DB_URL || 'db',
defaultFailureRedirect: process.env.DEFAULT_FAILURE_REDIRECT || '/login',
port: process.env.PORT || 3000,
secret: process.env.SECRET || require('uuid/v4')(),
siteTitle: process.env.SITE_TITLE || 'Christmas Community'
};