express-json-api

The quickest way to create a RESTful CRUD api from your mongoose models.

Stars
5
Committers
5

Bot releases are hidden (Show)

express-json-api - Recursive sanitization Latest Release

Published by joshystuart over 8 years ago

In 0.0.6 we fixed sub resource sanitization, however it was not fixed recursively. This release takes care of that issue as well as preventing numbers and booleans from being sanitized.

express-json-api - Fixed sanitize bug for sub resources

Published by joshystuart almost 9 years ago

If you had sanitize response turned on, it would flatten sub-resources that were objects or arrays of objects. This release fixes that bug.

express-json-api - Fixed patch populate bug

Published by joshystuart almost 9 years ago

There was a bug that when updating a resource via PATCH it would return the updated resource, however, it would not auto populate the sub-resources that were defined in the config.

express-json-api - Create resources

Published by joshystuart almost 9 years ago

This release adds the ability to create resources via the POST method.

express-json-api - Refactor to es6

Published by joshystuart almost 9 years ago

This release does not introduce any new functionality, but it is a rewrite using es6 classes to help with reusability and extendability in the future.

express-json-api - Proof of concept alpha

Published by joshystuart almost 9 years ago

This release is a proof of concept and the API could change substantially as we build out this module. We are using it in a production environment however, so it is getting real world usage.