mirror of
https://github.com/arnaucube/thoughts.git
synced 2026-02-07 03:36:49 +01:00
configuració per heroku
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
module.exports = {
|
||||
|
||||
'secret': 'secretfortoken',
|
||||
'database': 'mongodb://userdb:userdb@ds013366.mlab.com:13366/thoughts'
|
||||
'database': 'mongodb://userdb:userdb@ds013366.mlab.com:13366/thoughts',
|
||||
"port" : process.env.PORT || 3000
|
||||
|
||||
};
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
"version": "0.0.1",
|
||||
"description": "micro blogging server and client",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
"start": "node server.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"mongoose": "^4.5.6",
|
||||
"express": "^4.7.1",
|
||||
|
||||
Reference in New Issue
Block a user