Commit Graph
83 Commits
Author SHA1 Message Date
Adrian Obelmejias 462d584aa3 Add GET /users/:id route 2016-03-05 15:23:41 -05:00
Adrian Obelmejias 9f8a04e556 Add GET /users route 2016-03-05 15:13:41 -05:00
Adrian Obelmejias 1030f80360 Mount middleware stack per route 2016-03-05 15:11:02 -05:00
Adrian Obelmejias d4434e2ef8 Module intializer - generates routes and connects to controller 2016-03-05 14:12:09 -05:00
Adrian Obelmejias 184451f9fc Create router for /users 2016-03-05 13:38:08 -05:00
Adrian Obelmejias a102abfef8 Change router import to module init 2016-03-05 13:36:57 -05:00
Adrian Obelmejias ea33ef0cf2 Update version 2016-03-05 00:07:38 -05:00
Adrian Obelmejias 6ab4d0b946 Merge branch 'feature/docs' 2016-03-05 00:06:49 -05:00
Adrian Obelmejias 8e97911d4e Update lint to ignore comments 2016-03-05 00:05:09 -05:00
Adrian Obelmejias 67455677d7 Update readme 2016-03-04 23:58:22 -05:00
Adrian Obelmejias e96606acdb Add docs for DELETE /users/:id 2016-03-04 23:46:25 -05:00
Adrian Obelmejias ac7b8172ba Add docs for PUT /users/:id 2016-03-04 23:43:03 -05:00
Adrian Obelmejias 2f0c87ce91 Set error name to Unauthorized-Error 2016-03-04 23:42:51 -05:00
Adrian Obelmejias f5bfba49c5 Add docs for POST /users 2016-03-04 23:33:46 -05:00
Adrian Obelmejias 1b026949d2 Add docs for GET /user/:id 2016-03-04 23:23:25 -05:00
Adrian Obelmejias 1eae3a4c0e Define auth error 2016-03-04 23:17:12 -05:00
Adrian Obelmejias 87ea94b739 Mount documentation on /docs 2016-03-04 23:05:54 -05:00
Adrian Obelmejias 0b16b62261 Clean up dependencies 2016-03-04 23:05:31 -05:00
Adrian Obelmejias 5aea701513 Change config/config.js to a default config/index.js 2016-03-04 22:40:39 -05:00
Adrian Obelmejias f2183f9904 Move server.js entrypoint to bin directory 2016-03-04 22:27:33 -05:00
Adrian Obelmejias f8504f86ba Update auth docs 2016-03-04 22:26:21 -05:00
Adrian Obelmejias ec2b1be7a6 Update dependencies 2016-03-04 22:25:44 -05:00
Adrian Obelmejias 7a81625c40 Add documentation for authentication route 2016-03-04 21:55:18 -05:00
Adrian Obelmejias 996d1a541e Move apidoc config to package.json 2016-03-04 21:04:14 -05:00
Adrian Obelmejias 5c0cec3d9c Add apidoc config 2016-03-04 21:01:13 -05:00
Adrian Obelmejias feee6d41b8 Add generated docs dir to gitnore 2016-03-04 20:51:37 -05:00
Adrian Obelmejias c61632750b Bump version 2016-03-04 20:03:04 -05:00
Adrian Obelmejias cb8f26fdc9 Split environment specific config into separate files 2016-03-04 20:02:38 -05:00
Adrian Obelmejias 275b8dfc5f Fix missing comma 2016-02-17 19:27:53 -05:00
Adrian Obelmejias 3d04313a37 Lint 2016-02-17 19:27:37 -05:00
Adrian Obelmejias bf212be661 Update docs 2016-02-17 19:15:43 -05:00
Adrian Obelmejias 3e2552c627 Change project name 2016-02-15 18:25:12 -05:00
Adrian Obelmejias ba2a51efe5 Add tests for user deletion 2016-02-15 18:22:52 -05:00
Adrian Obelmejias 98ab1b8de6 Fix error handling for DEL method 2016-02-15 18:22:36 -05:00
Adrian Obelmejias 95f029c3e3 Fix error handling and return user within the user object or response 2016-02-15 18:19:39 -05:00
Adrian Obelmejias e87f6264da Add tests for /user/:id 2016-02-15 18:15:08 -05:00
Adrian Obelmejias 2138890f07 Throw 404 instead of 500 for cast error when fetching user 2016-02-15 18:14:43 -05:00
Adrian Obelmejias 995c2c5d60 Clean db before tests 2016-02-15 18:04:26 -05:00
Adrian Obelmejias 1dfc2fe826 Fix config prop name 2016-02-15 17:54:25 -05:00
Adrian Obelmejias 697c001075 Add tests for user sign up 2016-02-15 17:42:21 -05:00
Adrian Obelmejias 943b62dc76 Update dependencies 2016-02-15 17:32:26 -05:00
Adrian Obelmejias 44cab1b021 Add test config 2016-02-15 17:32:18 -05:00
Adrian Obelmejias 235e3caabe Use glob function instead of Glob constructor 2016-02-15 17:11:57 -05:00
Adrian Obelmejias 989073056f Remove user salt from deserialize 2016-02-15 17:08:51 -05:00
Adrian Obelmejias 85f6518262 Fix missing async keyword on query 2016-02-15 17:04:29 -05:00
Adrian Obelmejias 6910b04e91 Register controllers from glob 2016-02-15 16:52:40 -05:00
Adrian Obelmejias f691bae41d Make user CRUD route's protected behind auth 2016-02-15 16:37:00 -05:00
Adrian Obelmejias 409520d9f1 Moved middleware to middleware directory 2016-02-15 16:36:18 -05:00
Adrian Obelmejias f3172adf77 Remove unnecesary error catching 2016-02-15 16:30:49 -05:00
Adrian Obelmejias 6f34ecf76a Fix token name 2016-02-11 19:51:31 -05:00