JSPM

resty-stone

v0.0.31-alpha
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q20414F
  • License MIT

REST API for keystone.

Package Exports

  • resty-stone

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (resty-stone) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

resty-stone

Rest API toolkit for KeystoneJS.

A powerful and robust toolkit for building Web API`s.

Click here for Documentation (Not updated for v0.0.3 yet)

####See example directory to understand how to init a basic REST.

Key features:

###Works out of the box resty-stone requires only metadata, tell it what a resource can or cant do, it will take care of the "REST".

REST Domain

resty-stone create a new layer of metadata to control the behavior of List instances.
The allows a high level of customization per List instance/group.

Token based authentication:

resty-stone comes with built-in support for Basic Auth authentication built on top of KeystoneJS authentication. This means separate auth modules but same behavior.

###Highly customizable:
resty-stone lets you control the behavior of your List or let it do its magic automatically.
Customize fields, request handling, serialization, filtering, custom remote functions and more.

Relay on KeystoneJS building blocks:

resty-stone uses KeystoneJS infrastructure where possible.
This helps keeping performance aligned and creates a unified experience.

AdminUI separation:

resty-stone create a clear separation between AdminUI configuration and REST domain configuration.

Install:

Not published on NPM at the moment, use:

npm isntall resty-stone --save

##TODO:

  • Implement nested List handling.
  • Support more authentication policies (OAuth1, OAuth2)
  • Auto-generate client (native js, angular)?

#LICENCE: MIT