eventController --> getAllEvents, getEventById, getEventsByCAtegory, addEvent

This commit is contained in:
arnaucode
2017-02-11 18:41:40 +01:00
parent 5772ddf438
commit b0f414d621
7 changed files with 130 additions and 17 deletions

View File

@@ -3,6 +3,7 @@ module.exports = {
'database': process.env.MONGO_DSN,*/
'secret': 'secretfortoken',// local version
'database': 'mongodb://localhost/openeventsplatform',
"port" : process.env.PORT || 3000
"port" : process.env.PORT || 3000,
"pageSize": 20
};