37 Commits

Author SHA1 Message Date
e8fe1ad89a Add embed, thanks to @delfi 2015-05-25 14:48:22 +02:00
69eace2975 Fix query parameters conversion 2015-05-17 17:54:22 +02:00
4830fd7e02 Enhance query parameters parsing 2015-05-17 17:54:16 +02:00
b1ca61ba9e Fix code style 2015-05-13 18:34:22 +02:00
73f919ddd0 Fix POST status code, thanks to @lagoLast 2015-05-07 15:10:58 +02:00
0ff4e627f4 Refactor code and tests 2015-05-04 19:46:12 +02:00
34b95e2bac Added _limit param. Example usage: _start=2&_limit=3 alternative to _start=2&_end=5. 2015-04-28 15:16:14 +06:00
0489c83798 Return empty JSON for DELETE 2015-04-21 04:10:15 +02:00
15be545a13 Remove console.log 2015-04-21 03:42:21 +02:00
ca867e8563 Allow middlewares to be set before json-server middlewares 2015-04-17 21:35:24 +02:00
a4fa344f10 Support string id in /resources/:id 2015-04-12 23:55:21 +02:00
6ad3acaaab Add 404 for GET /:resource 2015-04-04 13:17:23 +02:00
7da6045201 Separate routes and server creation 2015-02-06 01:11:02 +01:00
80e0df1630 Refactor 2015-02-05 22:03:50 +01:00
ff83b3215b Handle string/hash based ids 2015-02-03 10:41:23 +01:00
2fe5ee3c73 Fix type conversion 2015-01-08 16:08:26 +01:00
e660f0bd6b Fix empty string conversion 2015-01-08 13:44:03 +00:00
2e3d833ec4 Fix default index 2014-11-16 18:13:19 +01:00
587ac74a53 Update README.md and test 2014-10-20 04:20:17 +02:00
b86bb22c07 Rename sortDir to order 2014-10-18 18:49:52 +02:00
6d88075ff2 Refactor and update to LowDB 0.4 2014-10-13 15:56:47 +02:00
05bf46e501 Add sorting test 2014-09-23 17:20:35 +02:00
aa0d2e320a Rollback to _start and _end query params and update README.md 2014-09-19 01:46:43 +02:00
053484d072 Fix #25 2014-09-17 21:00:46 +02:00
a76ca913ae Refactor and migrate to Express 0.4.x 2014-09-16 22:44:02 +02:00
3ae7c5bcec Merge pull request #22 from manuquentin/add_list_count
[RFR] Add total count when slicing collection
2014-09-15 14:26:39 +02:00
165b1442e7 Add global search 2014-09-11 08:37:31 +02:00
daf3da70e0 Add X-Count header when slicing collection 2014-08-26 13:35:15 +02:00
5516ff053f Convert props to native for POST, PUT, PATCH 2014-08-07 21:22:32 +02:00
c0d43ef437 Support credentials true #15 2014-08-07 19:10:30 +02:00
170511c9e2 Refactor 2014-05-09 08:11:22 +02:00
98add5aff5 Fix tests 2014-04-02 06:54:02 +02:00
7b5ca69ef1 Fix server 2014-03-26 14:12:48 +01:00
ca775b7544 Update 2014-03-21 17:18:54 +01:00
681e6fcf02 Clean 2014-03-21 14:00:12 +01:00
25b2e43648 Use restify 2014-03-18 20:25:13 +01:00
b8915e7bb8 First commit 2013-11-30 14:42:14 +01:00