This commit is contained in:
Adrian Obelmejias
2016-02-11 16:31:09 -05:00
parent 4c8e9f6acc
commit 3bd799eba8
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -6,10 +6,12 @@ const config = {
}, },
development: { development: {
session: 'secret-boilerplate-token', session: 'secret-boilerplate-token',
token: 'secret-jwt-token',
database: 'mongodb://localhost:27017/koa2-boilerplate' database: 'mongodb://localhost:27017/koa2-boilerplate'
}, },
production: { production: {
session: 'secret-boilerplate-token', session: 'secret-boilerplate-token',
token: 'secret-jwt-token',
database: 'mongodb://localhost:27017/koa2-boilerplate' database: 'mongodb://localhost:27017/koa2-boilerplate'
} }
} }
+1
View File
@@ -23,6 +23,7 @@
"babel-polyfill": "^6.5.0", "babel-polyfill": "^6.5.0",
"babel-preset-es2015": "^6.5.0", "babel-preset-es2015": "^6.5.0",
"babel-preset-stage-0": "^6.5.0", "babel-preset-stage-0": "^6.5.0",
"jsonwebtoken": "^5.5.4",
"koa": "^2.0.0-alpha.3", "koa": "^2.0.0-alpha.3",
"koa-bodyparser": "^2.0.1", "koa-bodyparser": "^2.0.1",
"koa-convert": "^1.2.0", "koa-convert": "^1.2.0",