This docker-commpose takes local `config` dir and
mounts it into containers, so that microservices can take
locally customized configuration upon deployment.
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
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>