rest-data-api

1.4.0 • Public • Published

REST Data API

Create REST data APIs supporting custom ad-hoc queries that can be cached and reused. This package and its corresponding client component module rest-data-client are inspired by the excellent post HTTP/REST Data APIs on the Panda Strike Blog.

Installation

You will also want to set up rest-data-client to access data served by the APIs you create with this module.

npm install rest-data-api

Usage

Development

TODO:

  • Only allow client to create new queries during development. In production, only queries already defined server-side can be used.
  • Let client discover hashes and names for saved query templates
  • Add support for caching results

Package Sidebar

Install

npm i rest-data-api

Weekly Downloads

3

Version

1.4.0

License

Artistic-2.0

Last publish

Collaborators

  • neodon1014