Commit Graph

17 Commits

Author SHA1 Message Date
Jan Philipp Timme 87f08fc8e5 [TASK] Implement /profile API handler. 2013-09-17 15:41:04 +02:00
Jan Philipp Timme 9e154221a9 [TASK] Minor api fixes.
Altered whitespace, comments and replaced "err" with "error"
in JSON responses.
2013-09-17 15:38:38 +02:00
Jan Philipp Timme 17e6b0aa70 [TASK] Change http response codes.
I feel this needs a bit more explanation:
I plan to answer all requests with http status code 200 OK
and indicate the success in the actual JSON response.

It is still ugly as hell, but it might be like that for a while.
2013-09-16 21:56:12 +02:00
Jan Philipp Timme e0b6d7f175 [MISC] Add nice output about listening url. 2013-09-16 19:27:03 +02:00
Jan Philipp Timme 3d1b6369a2 [TASK] Store lastActivity as string instead of date. 2013-09-16 19:24:09 +02:00
Jan Philipp Timme f18dd39a36 [TASK] Move /user API handler to src/User.api.js. 2013-09-16 19:01:24 +02:00
Jan Philipp Timme 8aff2adfa5 [TASK] Move /session API handler to src/Session.api.js. 2013-09-16 18:58:09 +02:00
Jan Philipp Timme f72d126589 [TASK] Finish implementing /session API. 2013-09-16 18:21:52 +02:00
Jan Philipp Timme d11a047068 [TASK] Implement mechanism to create a user. 2013-09-15 18:30:51 +02:00
Jan Philipp Timme 03e66dfc83 [BUGFIX] Add missing '}' in app.js. 2013-09-14 23:40:48 +02:00
Jan Philipp Timme 1819d03598 [MISC] Change comments, change app.use() for static files. 2013-09-14 23:32:59 +02:00
Jan Philipp Timme 1602c7bd4e [MISC] Improve console logs and error handling a little. 2013-09-14 23:31:17 +02:00
Jan Philipp Timme 11c262cb03 [TASK] Add a basic session api skeleton. 2013-09-14 23:29:45 +02:00
Jan Philipp Timme f91afabfd1 [TASK] Add option to define the host to listen on. 2013-09-14 14:33:06 +02:00
Jan Philipp Timme 5bbc879029 [TASK] Alter dependencies, add scrypt. 2013-09-14 01:18:43 +02:00
Jan Philipp Timme 1f8e98c4a0 [TASK] Add a settings file template and begin couchdb support. 2013-09-13 23:11:00 +02:00
Jan Philipp Timme 1c5ddd7e82 [TASK] Introduce basic files for nodejs. 2013-09-13 18:49:44 +02:00