{"id":19552788,"url":"https://github.com/ruby-grape/grape-with-roar","last_synced_at":"2025-04-26T20:31:50.217Z","repository":{"id":18781578,"uuid":"21994870","full_name":"ruby-grape/grape-with-roar","owner":"ruby-grape","description":"A demo of using Grape with Roar and some non-trivial HAL presenters.","archived":false,"fork":false,"pushed_at":"2016-09-25T21:08:38.000Z","size":85,"stargazers_count":17,"open_issues_count":2,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-04T17:51:48.855Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ruby-grape.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-18T21:22:58.000Z","updated_at":"2025-01-23T23:53:59.000Z","dependencies_parsed_at":"2022-08-05T02:01:27.481Z","dependency_job_id":null,"html_url":"https://github.com/ruby-grape/grape-with-roar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby-grape%2Fgrape-with-roar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby-grape%2Fgrape-with-roar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby-grape%2Fgrape-with-roar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby-grape%2Fgrape-with-roar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruby-grape","download_url":"https://codeload.github.com/ruby-grape/grape-with-roar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251051455,"owners_count":21528787,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T04:19:43.636Z","updated_at":"2025-04-26T20:31:49.713Z","avatar_url":"https://github.com/ruby-grape.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Grape API with Roar\n===================\n\n[![Build Status](https://travis-ci.org/ruby-grape/grape-with-roar.svg?branch=master)](https://travis-ci.org/ruby-grape/grape-with-roar)\n[![Dependency Status](https://gemnasium.com/ruby-grape/grape-with-roar.svg)](https://gemnasium.com/ruby-grape/grape-with-roar)\n[![Code Climate](https://codeclimate.com/github/ruby-grape/grape-with-roar.svg)](https://codeclimate.com/github/ruby-grape/grape-with-roar)\n\nA [Grape](http://github.com/ruby-grape/grape) API that uses [Roar](https://github.com/apotonick/roar).\n\nSee\n---\n\nTry me [here](http://grape-with-roar.herokuapp.com/). In Chrome, best viewed with the [JSONView Plugin](https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc?hl=en).\n\nRun\n---\n\n```\n$ bundle install\n$ rackup\n\n[2013-06-20 08:57:58] INFO  WEBrick 1.3.1\n[2013-06-20 08:57:58] INFO  ruby 1.9.3 (2013-02-06) [x86_64-darwin11.4.2]\n[2013-06-20 08:57:58] INFO  WEBrick::HTTPServer#start: pid=247 port=9292\n```\n\n### Hello World\n\nNavigate to [localhost:9292/api](http://localhost:9292/api) with a browser. This is a hypermedia API, so all links are clickable.\n\nHyperclient\n-----------\n\nThis is a good demo to use with [Hyperclient](https://github.com/codegram/hyperclient). Check out [splines_endpoint_with_hyperclient_spec.rb](/spec/api/splines_endpoint_with_hyperclient_spec.rb) for a complete example that retrieves, creates, updates and deletes splines.\n\nActiveModel\n-----------\n\nThis project uses ActiveModel and defines a dummy [Spline](app/models/spline.rb) class.\n\nActiveRecord\n------------\n\nCheck out the [with-activerecord branch](https://github.com/ruby-grape/grape-with-roar/tree/with-activerecord) for a complete example that uses ActiveRecord and a PostgreSQL database.\n\nMongoid\n-------\n\nCheck out the [with-mongoid branch](https://github.com/ruby-grape/grape-with-roar/tree/with-mongoid) for a complete example that uses Mongoid and a MongoDB database.\n\nCopyright and License\n---------------------\n\nCopyright (c) 2014-2016 Daniel Doubrovkine\n\nMIT License, see [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruby-grape%2Fgrape-with-roar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruby-grape%2Fgrape-with-roar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruby-grape%2Fgrape-with-roar/lists"}