58 Commits

Author SHA1 Message Date
0f180c4997 update link of http to https 2015-05-11 14:28:05 +08:00
b0a97f77b9 Update router.js 2015-05-09 16:23:05 +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
d4f4c33679 Use express.static and remove a dependency 2015-05-04 19:23:48 +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
a700eae2d4 Enhance foreign key detection 2015-04-17 07:15:27 +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
fbf993818d Add comments 2015-03-23 19:27:37 +01:00
6718a8deac Fix logger 2015-03-20 06:54:23 +01:00
4b8ce73833 Fix #54 Move required middlewares to router instead of server 2015-03-16 21:35:29 +01:00
444dd1043e fix github links 2015-03-04 19:35:40 -08:00
0bdfb1ece9 Update index.html 2015-02-22 21:10:17 +01:00
248e03ea1e Fix CLI 2015-02-06 17:35:17 +01: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
5316578a91 Beautify JSON 2015-02-04 06:35:57 +01:00
1bafe62210 Update to lowdb 0.7.0 2015-02-03 12:25:33 +01:00
ff83b3215b Handle string/hash based ids 2015-02-03 10:41:23 +01:00
4e31201c93 Fix support jQuery JSONP _ query parameter 2015-01-24 18:26:12 +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
21e90fc658 Merge pull request #38 from GSchutz/master
Added an options parameter to body-parser with limit
2015-01-07 10:42:32 +01:00
165d1e3292 Fix snapshot creation and update messages 2015-01-06 10:11:38 +01:00
a8c694e934 set the limit for the body-parser to '10mb' 2015-01-05 12:02:59 -02:00
2e3d833ec4 Fix default index 2014-11-16 18:13:19 +01: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
9c17780656 Merge pull request #14 from jarvys/master
add alias for port and add `-s` option
2014-10-10 10:17:22 +02:00
cfcbaaf6ff Don\'t use logger if server is mounted 2014-10-06 12:09:34 +02:00
36449472a5 Don\'t use logger if server is mounted 2014-10-06 12:08:50 +02:00
8241655178 Allows to sort on a field 2014-09-23 17:18:58 +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
4da0734b1d Fix method-override deprecation notice #15 2014-08-07 19:17:30 +02:00
c0d43ef437 Support credentials true #15 2014-08-07 19:10:30 +02:00
23a7cd1689 * add alias for port
* add -s option for daemon process
2014-07-02 21:02:59 +08:00
67ec432672 Fix JSONP support for lists 2014-06-24 15:25:12 +02:00
395cb73023 Update comment 2014-06-12 07:52:46 +02:00
5a045c585e Use .delete instead of .del 2014-05-12 22:04:54 +02:00
170511c9e2 Refactor 2014-05-09 08:11:22 +02:00