Project

hypa

0.01
No commit activity in last 3 years
No release in over 3 years
Web Framework to make Hypermedia APIs
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 0
 Project Readme

Hypa: Web Framework to make Hypermedia APIs

Gem Version Build Status Code Climate Dependency Status Coverage Status

Proof-of-concept

I'm quickly iterating over different systems and syntaxes. So right now this is just a playground.

Status

A resource defines a schema which will be used for persistence and serialization. Hypa.app is dealing with requests and responses so you don't have to. All you have to do is: connect to a DB and create resource classes. See example:

Hypa.connection = Sequel.sqlite

class PostsResource
  primary_key :id
  string :title, key: :my_title
end

Hypa.migrate!

run Hypa.app

List of Hypermedia content types

Hypa is using its own content type "application/vnd.hypa+json" (far from being finalized). I like JSON API and the data part will try to follow this spec. The metadata part is similar to the actions from Siren.