harvesterjs

a library which makes it easy to construct a JSON-API compliant REST API (http://jsonapi.org/) with Nodejs and Mongodb

Usage no npm install needed!

<script type="module">
  import harvesterjs from 'https://cdn.skypack.dev/harvesterjs';
</script>

README

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 sparse right now, however when the dust settles a bit we will get this into proper shape with reference docs, tutorials and screencasts.

JSON-API Features

Other Features

  • Offset based pagination
  • node-swagger-express ready
  • Extended filter operators : lt, gt, lte, gte
  • Mongodb change events - oplog integration

Roadmap

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.

NPM

Build Status Coverage Status