BenMorganIO / solidus_json_api

A JSON API for Solidus.
https://benmorganio.github.io/solidus_json_api/
BSD 3-Clause "New" or "Revised" License
21 stars 8 forks source link

Solidus JSON API

Circle CI Coverage Status

A JSON API for Solidus.

Documentation: http://solidusapi.wildcardlabs.com

Installation

Add solidus_json_api to your Gemfile:

gem 'solidus_json_api', github: 'wildcardlabs/solidus_json_api'

Road to 1.0


Please note that there actually has been a lot of work done. The lack of checked off boxes doesn't give this gem the respect it deserves.


There's several things blocking 1.0. Below, you'll see a bullet list of requirements that are both specific to the app, the JSON API spec, and third parties.

Resource index create show update destroy
Adjustment [ ] [ ] [ ] [ ] [ ]
Address [ ] [ ] [ ] [ ] [ ]
Checkout [ ] [ ] [ ] [ ] [ ]
Country [x] [ ] [x] [ ] [ ]
Image [x] [ ] [x] [ ] [ ]
Line Item [ ] [x] [ ] [ ] [ ]
Option Type [x] [ ] [x] [ ] [ ]
Option Value [x] [ ] [x] [ ] [ ]
Order [x] [ ] [x] [ ] [ ]
Payment [ ] [ ] [ ] [ ] [ ]
Price [x] [ ] [x] [ ] [ ]
Product [x] [ ] [x] [ ] [ ]
Product Property [ ] [ ] [ ] [ ] [ ]
Return Auth [ ] [ ] [ ] [ ] [ ]
Shipment [ ] [ ] [ ] [ ] [ ]
State [x] [ ] [x] [ ] [ ]
Stock Location [ ] [ ] [ ] [ ] [ ]
Stock Movement [ ] [ ] [ ] [ ] [ ]
Stock Item [ ] [ ] [ ] [ ] [ ]
Store [ ] [ ] [ ] [ ] [ ]
Store Credit [ ] [ ] [ ] [ ] [ ]
Tax Category [ ] [ ] [ ] [ ] [ ]
Tax Rate [ ] [ ] [ ] [ ] [ ]
Taxon [x] [ ] [x] [ ] [ ]
Taxonomy [x] [ ] [x] [ ] [ ]
User [x] [ ] [x] [ ] [ ]
Variant [x] [ ] [x] [ ] [ ]
Zone [ ] [ ] [ ] [ ] [ ]

Testing

First bundle your dependencies, then run rake. rake will default to building the dummy app if it does not exist, then it will run the specs. The dummy app can be regenerated by using rake test_app.

bundle
bundle exec rake

Copyright © 2015 Ben A. Morgan, released under the New BSD License