Feature: First version of the REST API done

This commit is contained in:
2015-08-14 08:04:31 +00:00
commit e6fc0be0ed
28 changed files with 3170 additions and 0 deletions

17
config/server.js Normal file
View File

@@ -0,0 +1,17 @@
module.exports = {
development: {
port : process.env.PORT || 3000,
server : process.env.IP || '0.0.0.0',
errorHandlerOptions: {"dumpExceptions": true, "showStack": true}
},
test: {
port : 3000,
server : 'localhost',
errorHandlerOptions: {"dumpExceptions": false, "showStack": false}
},
production: {
port : process.env.PORT || 3000,
server : process.env.IP || '0.0.0.0',
errorHandlerOptions: {"dumpExceptions": false, "showStack": false}
},
}