{"id":21966453,"url":"https://github.com/dreamingechoes/grape_example_app","last_synced_at":"2026-03-07T18:01:12.672Z","repository":{"id":96611254,"uuid":"44997890","full_name":"dreamingechoes/grape_example_app","owner":"dreamingechoes","description":"An example of a Rails API made with Grape.","archived":false,"fork":false,"pushed_at":"2015-11-15T17:38:24.000Z","size":0,"stargazers_count":12,"open_issues_count":0,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-24T05:08:40.617Z","etag":null,"topics":["api","grape","rails","ruby"],"latest_commit_sha":null,"homepage":"http://grape-example-app.herokuapp.com/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dreamingechoes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-26T21:17:53.000Z","updated_at":"2021-12-19T09:11:22.000Z","dependencies_parsed_at":"2023-03-09T06:56:21.613Z","dependency_job_id":null,"html_url":"https://github.com/dreamingechoes/grape_example_app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dreamingechoes/grape_example_app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamingechoes%2Fgrape_example_app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamingechoes%2Fgrape_example_app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamingechoes%2Fgrape_example_app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamingechoes%2Fgrape_example_app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dreamingechoes","download_url":"https://codeload.github.com/dreamingechoes/grape_example_app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamingechoes%2Fgrape_example_app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30225404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T17:00:40.062Z","status":"ssl_error","status_checked_at":"2026-03-07T17:00:39.026Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["api","grape","rails","ruby"],"created_at":"2024-11-29T13:16:17.350Z","updated_at":"2026-03-07T18:01:12.654Z","avatar_url":"https://github.com/dreamingechoes.png","language":"Ruby","readme":"Grape Example App\n================\n\n[![Deploy to Heroku](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)\n\nThis application was generated with the [rails_apps_composer](https://github.com/RailsApps/rails_apps_composer) gem\nprovided by the [RailsApps Project](http://railsapps.github.io/).\n\nRails Composer is open source and supported by subscribers. Please join RailsApps to support development of Rails Composer.\n\nRuby on Rails\n-------------\n\nThis application requires:\n\n- Ruby 2.2.2\n- Rails 4.2.4\n\nLearn more about [Installing Rails](http://railsapps.github.io/installing-rails.html).\n\nAbout\n-----\n\nThis is an example of an Rails API made with Grape. Was created with **Rails Composer** from the RailsApps project.\n\nOriginal author\n---------------\n\nIván González, *a.k.a* [dreamingechoes](https://github.com/dreamingechoes)\n\nGetting Started\n---------------\n\nTo start using this API, you only have to do the typical ***Rails*** things:\n\n* Install ***Ruby*** version 2.2.2 (using [RVM](https://github.com/rvm/rvm) or [RBenv](https://github.com/sstephenson/rbenv) or whatever).\n\n* Clone the repo and do the ***bundle install*** thing:\n\n```sh\nuser@computer:~$ git clone git@github.com:dreamingechoes/grape_example_app.git\nuser@computer:~$ cd grape_example_app\nuser@computer:/grape_example_app$ bundle install\nuser@computer:/grape_example_app$ rake db:setup\n```\n\n* When all this finish, you're ready to launch the app!\n\n```sh\nuser@computer:/grape_example_app$ rails s\n```\n\n* Open your web browser and go to [http://localhost:3000](http://localhost:3000) like in all the regular ***Rails*** apps.\n\n**NOTE:** the seed.rb file has an ApiKey example token for testing the API, which is **18dfef7acf97765b54abecdf86a25bba**, but on ApiKey.create() method it assigns other random **access_token**. If you want to use the example token for testing purpose, update via console the attribute **access_token** of the ApiKey to **18dfef7acf97765b54abecdf86a25bba**, like this:\n\n```ruby\nuser@computer:/grape_example_app$ rails console\nLoading development environment (Rails 4.2.4)\n\u003e\u003e a = ApiKey.first\n  ApiKey Load (0.3ms)  SELECT  `api_keys`.* FROM `api_keys`  ORDER BY `api_keys`.`id` ASC LIMIT 1\n=\u003e #\u003cApiKey id: 2, access_token: \"k93eeqa34f9774rko4abecdf86a2nckm\", expires_at: \"2043-03-12 21:03:46\", user_id: 3, active: nil, created_at: \"2015-10-26 21:03:46\", updated_at: \"2015-10-26 21:05:03\"\u003e\n\u003e\u003e a.update_attribute(:access_token, \"18dfef7acf97765b54abecdf86a25bba\")\n   (1.8ms)  BEGIN\n   (0.1ms)  COMMIT\n=\u003e true\n```\n\nContributing\n------------\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Added some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\nLicense\n-------\n\n**Grape Example App** is released under the [MIT License](http://www.opensource.org/licenses/MIT).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdreamingechoes%2Fgrape_example_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdreamingechoes%2Fgrape_example_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdreamingechoes%2Fgrape_example_app/lists"}