|
09d2094593
|
Update lowdb and underscore-db
|
2015-06-15 16:33:28 +02:00 |
|
|
81c0cf750d
|
Fix _embed
|
2015-06-01 15:36:33 +02:00 |
|
|
465fbf72bb
|
Remove extra semicolon
|
2015-05-30 19:54:01 +02:00 |
|
|
b994fb5592
|
Don't modify DB while using _embed
- We skip embedding nonexistent collections to avoid auto-creating them by lowdb
- We clone the object to avoid auto-saving embedded collection
|
2015-05-30 19:45:35 +02:00 |
|
|
4132883ca8
|
loop over each _embed and check
|
2015-05-26 15:00:49 -04:00 |
|
|
920c32751a
|
fix empty key/value when _embed is undefined/empty
|
2015-05-26 14:45:35 -04:00 |
|
|
8ef3065c12
|
Use lodash
|
2015-05-25 14:54:15 +02:00 |
|
|
e8fe1ad89a
|
Add embed, thanks to @delfi
|
2015-05-25 14:48:22 +02:00 |
|
|
f50c9eb980
|
Remove console.log
|
2015-05-25 11:34:27 +02:00 |
|
|
c782e82277
|
reverted back to underscore, for now.
|
2015-05-23 14:07:22 -04:00 |
|
|
55f3ed2f26
|
fixed spacing
|
2015-05-23 10:48:27 -04:00 |
|
|
db7712ac11
|
replaced underscore with lodash, expanded querying capability to search through nested objects and arrays
|
2015-05-23 10:26:56 -04:00 |
|
|
c5167e6979
|
Fix pluralization
|
2015-05-22 02:15:07 +02:00 |
|
|
b1ca61ba9e
|
Fix code style
|
2015-05-13 18:34:22 +02: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 |
|
|
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 |
|
|
4b8ce73833
|
Fix #54 Move required middlewares to router instead of server
|
2015-03-16 21:35:29 +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 |
|