0.0
Low commit activity in last 3 years
Config-driven Relaton API server over a dataset directory.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

>= 0

Runtime

~> 3.2
~> 3.0
 Project Readme

relaton-api (Ruby reference implementation)

Config-driven Rack application serving the Relaton API v3 contract over a dataset directory. Sister implementation of the npm package @relaton/api; both are pinned by the shared conformance corpus.

Usage

gem install relaton-api
RELATON_DATA_DIR=./data rackup examples/config.ru

Structure and rules: autoload-only loading (no require_relative inside lib/), routes as a registry (OCP), model-driven responses via the relaton gem. See TODO.api/11-… in relaton/api.relaton.org for the roadmap.