Devices routes are now JWT protected. We are using `restify-jwt`
which is using `jsonwebtoken` behind.
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
This commit introducess massive change:
- Replace Express by Restify for simplicity and lean approach
- Replace Mongoose by MongoJS for DB schema-less paradigm
- Introduce `controllers` dir, and isolate all routes in `routes.js`
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
Some plugins, like gulp-mocha, have problems with a proper termination
after finishing the task. This plugin guarantees that the task will exit
successfully.
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>