Harvester.js
Easily create JSONAPI-compliant APIs on top of node.js and mongoDB.
Pluggable with the agco JSON-API extension profile implementation : Elastic Harvester, which offers additional features such as linked resource filtering and aggregation.
Documentation
Harvesterjs is currently under heavy development, we are reworking the DSL and adding a bunch of big new features.
Documentation is a pretty much non-existent at this point, however when the dust settles we will get this into proper shape with reference docs, tutorials and screencasts.
JSON-API Features
- Resource Relationships
- URL Templates
- Filtering
- Inclusion of Linked Resources
- Sparse fieldsets
- Sorting
- CRUD
- Errors
Other Features
- Offset based pagination
- node-swagger-express ready
- Extended filter operators : lt, gt, lte, gte
- Mongodb change events - oplog integration
Roadmap
- JSON API 1.0 compliance
- validation with joi
- brand new DSL with sensible defaults
- External links
- Bidirectional links
- UUIDs
References
This project is a fork of fortune.js. Decision to fork was driven by the a) desire to keep as JSONAPI compliant as possible and b) the simplification and power derived from focusing exclusively on mongoDB as the data back-end.