0cb33f8378
Update home
2017-03-08 00:33:43 +01:00
0551bd027f
Update home
2017-03-03 13:24:33 +01:00
91ae73273a
Refactor
2017-03-03 01:08:04 +01:00
946e5c5ede
Fix lint
2017-03-03 00:38:43 +01:00
392175017f
Refactor index.html
2017-03-03 00:35:52 +01:00
92532128da
Use lodash-id
2017-02-20 23:57:30 +01:00
2c6fbf35b0
Refactor
2017-02-13 20:42:20 +01:00
ffda7238dd
Pass the link to the newly created resource in the Location header ( #473 )
2017-02-13 20:25:10 +01:00
54e6d972fb
Update to lowdb 0.15
2017-02-13 20:14:09 +01:00
7ce0279878
Fix duplicate query params error (Issue: #352 ) ( #465 )
2017-02-07 00:42:00 +01:00
69321be00f
Display custom routes
2016-12-25 19:12:38 +01:00
bb64e719b7
Update rewriter
2016-12-25 07:44:36 +01:00
0bac035258
Update
2016-12-08 23:29:43 +01:00
7cf8584f7c
Merge branch 'master' of https://github.com/zhangbg/json-server into zhangbg-master
2016-12-08 23:00:47 +01:00
202a416098
update req.query when rewrite without params ( #432 )
...
* update req.query when rewrite without params #431
* add tests for rewrite rules with query and without paramas for PR #432
* [typo] add tests for rewrite rules with query and without paramas for PR #432
2016-12-08 22:53:16 +01:00
d0596e1386
clean
2016-12-06 23:51:01 +01:00
46a5259584
Add stricter tests
2016-12-06 23:43:26 +01:00
485378d222
fixed the bug on windows: SyntaxError-Unexpected end of input
2016-11-29 18:55:30 +08:00
cb1d474ac6
Update run.js
2016-11-28 14:07:30 +01:00
b6b48facee
Fix standard error
2016-11-28 13:33:29 +01:00
c527e1ef87
Fix nohup issue
2016-11-28 13:30:43 +01:00
3f355b3ada
Check if file is not null when watching dir
2016-11-27 20:12:38 +01:00
edbb860300
Fix invalid HTML, Improve formatting ( #422 )
2016-11-25 15:56:20 +01:00
f54de70738
Update test
2016-11-21 02:39:29 +01:00
eca6b763f2
fix filter for boolean value false ( #412 ) ( #413 )
2016-11-21 02:24:35 +01:00
2b26630ac6
v0.9.0 ( #404 )
...
* Remove automatic type conversion
* Remove body-parser from default middlewares
* Ignore lib
* ES2015
* Use shortid
* Add babel-register
* Update paths to ./lib
* Add .npmignore
* Update bin
* temp fix
* Fix bin
* Add message when creating default db
* Use fs.watch
* Fix operator existence test
* Fix 0.12 tests
* Update dependencies
* Update
* Increase timeout
* Fix 0.12 support
* 0.9.0-beta.1
* Fix missing example.json issue
* 0.9.0-beta.2
* Update message
* Update CHANGELOG.md
* Update lowdb dependency
* Add error message
* Update README.md
* Add database validation
* Update
* Update
* Fix tests
* Update
2016-11-12 01:59:43 +01:00
2b93bf5113
Exposing Link
in the header instead of Links
( #394 )
...
- fix the small typo `Links` to `Link`
- update relevant tests
2016-11-02 23:33:55 +01:00
b070d56194
Expose the Links header. ( #381 )
2016-10-04 12:04:48 +02:00
b06bc27d91
Add support for query params in rewrite targets ( #373 )
...
* Add support for query params in rewrite targets
Re-parse the rewrite target to add query params, fixes #372
* Use lodash for Object.assign for node v0.12 compatibility
2016-10-01 02:25:13 +02:00
732c330574
Add common middlewares for defaults and router
2016-09-13 22:17:09 +02:00
af36b78ced
Move router middlewares to defaults
2016-09-13 22:06:15 +02:00
26cda0ddf8
fix body parser ( #338 )
2016-09-13 21:57:30 +02:00
2879dceec2
Fixed the issue with watching under Win10 with Cygwin ( #356 )
2016-09-12 08:58:47 +02:00
c597a20276
fix #341 ( #350 )
2016-08-30 17:21:14 +02:00
2c53d62860
lint
2016-08-28 00:51:31 +02:00
61de2d86c8
Update pagination ( #346 )
2016-08-28 00:45:56 +02:00
e2d37ba67d
use yargs array for middlewares
2016-08-17 22:30:53 +02:00
e9d1da2ab7
Add --middlewares option ( #343 )
...
* Add --middlewares option
* Support multiple middlewares files
2016-08-14 05:51:12 +02:00
9155120566
Fix #320
2016-07-25 19:16:35 +02:00
33cb2de999
Support x-www-form-urlencoded
2016-07-04 20:43:12 +02:00
3a23d8663b
Add basic pagination
2016-07-04 20:13:41 +02:00
706ab46d55
Use deep equal
2016-07-03 19:31:40 +02:00
988ddded82
style update to standard v7
2016-07-03 18:50:11 +02:00
bf45e62b7a
Update watch
2016-07-01 13:31:11 +02:00
9d1451c71b
use request for Node 0.12 compatibility
2016-06-30 22:57:53 +02:00
32c76f4a3f
Update dependencies and watch
2016-06-30 12:36:51 +02:00
54d30ebf16
Make link to jquery agnostic to http/s
2016-06-22 20:45:29 +02:00
71b6c95b4a
test: should update json file
2016-05-15 16:31:48 +02:00
dfea2b3400
make _like operator case insensitive
2016-05-12 21:46:17 +02:00
bdb20a3423
fix: minor
2016-05-08 19:05:26 +02:00