Drasko DRASKOVIC
ef00dac107
Correct Docker stuff
...
This commit corrects docker-compose.
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2015-12-07 00:27:52 +01:00
Drasko DRASKOVIC
7eb4c34ab1
Cosmetics
...
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2015-12-06 19:42:27 +01:00
Drasko DRASKOVIC
55b28f90f0
Add JWT data in the signature
...
This commit adds Mainflux metadata embedded in JWT.
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2015-12-06 14:57:40 +01:00
Drasko DRASKOVIC
40194aeb9b
Create logger as a separate file
...
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2015-12-06 14:57:40 +01:00
Drasko DRASKOVIC
e7e4da29bb
Add jwt
...
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>
2015-12-04 00:54:39 +01:00
Drasko DRASKOVIC
59da29ff2b
Use restify and mongojs. Change structure.
...
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>
2015-12-02 00:17:10 +01:00
Drasko DRASKOVIC
5e31f45b27
Add Mocha, Chai and Supertest combo for testing
...
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2015-11-01 03:43:23 +01:00
nmarcetic
f36013016e
-- Hello JWT
...
Signed-off-by: nmarcetic <nikola.marcetic@ntsystems.rs>
2015-10-13 16:35:32 +02:00
Drasko DRASKOVIC
92b4a70528
Correct headers for token. Send full device JSON on creation, update and delete
...
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2015-10-11 22:35:05 +02:00
Drasko DRASKOVIC
3b86bf249c
Add comments for device model, fix typos
...
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2015-10-10 01:37:50 +02:00
Drasko DRASKOVIC
014d13298a
Correct comments
2015-10-03 01:56:02 +02:00
Drasko DRASKOVIC
9d8004ee4c
Add device schema mock-up
2015-10-03 01:56:02 +02:00
Drasko DRASKOVIC
c8c61bfe4a
Added config and routes dirs
2015-07-26 23:37:22 +02:00
Drasko DRASKOVIC
7d5b901dc9
Initial commit
2015-07-06 22:32:02 +02:00