{"id":14955567,"url":"https://github.com/dannyyu92/barebones","last_synced_at":"2025-10-01T18:31:39.580Z","repository":{"id":36387970,"uuid":"40692854","full_name":"dannyyu92/barebones","owner":"dannyyu92","description":"Personal Rails Template Generator","archived":false,"fork":false,"pushed_at":"2017-10-19T07:21:14.000Z","size":63,"stargazers_count":45,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-14T11:21:11.366Z","etag":null,"topics":["barebones","rails-api","rails-engine","rails-template","rails5"],"latest_commit_sha":null,"homepage":"","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/dannyyu92.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":"2015-08-14T02:58:17.000Z","updated_at":"2024-03-21T23:03:39.000Z","dependencies_parsed_at":"2022-09-06T07:01:04.419Z","dependency_job_id":null,"html_url":"https://github.com/dannyyu92/barebones","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/dannyyu92%2Fbarebones","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dannyyu92%2Fbarebones/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dannyyu92%2Fbarebones/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dannyyu92%2Fbarebones/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dannyyu92","download_url":"https://codeload.github.com/dannyyu92/barebones/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234724241,"owners_count":18877159,"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":["barebones","rails-api","rails-engine","rails-template","rails5"],"created_at":"2024-09-24T13:11:22.954Z","updated_at":"2025-10-01T18:31:34.263Z","avatar_url":"https://github.com/dannyyu92.png","language":"Ruby","readme":"Barebones\n===\n[![Gem Version](https://badge.fury.io/rb/barebones.svg)](https://badge.fury.io/rb/barebones)  \nBarebones is my personal base Rails application. After developing a\ncouple of Rails applications, I thought that there were some common\ngems and patterns that would be nice to have out of the box.\n\n## Installation\nInstall the gem:  \n\n    gem install barebones\n\nThen run:  \n\n    barebones [AppName]\n\n### Flags\nIf you don't like using any of the below gems or configurations for whatever reason, you can skip them:\n* --skip-api\n* --skip-resque\n* --skip-sidekiq\n* --skip-minitest\n* --skip-factory-girl\n* --skip-carrierwave\n\nFor example:\n\n    barebones [AppName] --skip-api --skip-minitest\n\n## Gemfile\nBarebones' [Gemfile](templates/Gemfile.erb) includes various preconfigured gems such as:\n### Webserver\n* [Puma](https://github.com/puma/puma) for our default concurrent webserver. Configured to spawn on free Heroku instances [out of the box](templates/puma.rb#L63).\n\n\n### File Uploading\n* [Carrierwave](https://github.com/carrierwaveuploader/carrierwave) for file uploading\n* [Fog](https://github.com/fog/fog) for AWS/Google cloud storage\n* [MiniMagick](https://github.com/minimagick/minimagick) for image cropping/resizing and all that good stuff\n\n### Background Processing\n* [Sidekiq](https://github.com/mperham/sidekiq) for background workers. This is the default option.\n* [Resque](https://github.com/resque/resque) for background workers\n* [Resque-Scheduler](https://github.com/resque/resque-scheduler) for queueing workers in the future\n\n### Database\n* [Postgres](https://rubygems.org/gems/pg/versions/0.18.3)\n\n### Dev/Testing\n* [Byebug](https://github.com/deivid-rodriguez/byebug) for debugging\n* [Pry Byebug](https://github.com/deivid-rodriguez/pry-byebug) for debugging background jobs\n* [Web Console](https://github.com/rails/web-console) for debugging views\n* [Awesome Print](https://github.com/awesome-print/awesome_print) for pretty printing command line objects\n\n### Testing\n* [Minitest](https://github.com/blowmage/minitest-rails) for TDD/BDD\n* [Minitest Reporters](https://github.com/kern/minitest-reporters) for customizable Minitest output formats\n* [Minitest Around](https://github.com/splattael/minitest-around) for database setup/teardown\n* [Mocha](https://github.com/freerange/mocha) for mocking and stubbing\n* [Database Cleaner](https://github.com/DatabaseCleaner/database_cleaner) to ensure a clean state during tests\n\n### API\n* [Jbuilder](https://github.com/rails/jbuilder) for building JSON structures\n* [oj](https://github.com/ohler55/oj) for faster JSON parsing (and a faster Jbuilder)\n* [oj_mimic_json](https://github.com/ohler55/oj_mimic_json)\n* [MultiJSON](https://github.com/intridea/multi_json)\n\n## Design Patterns\n* Services (Pre-made folder)\n* [Custom Decorator Class](templates/barebones_decorator.rb.erb) (A custom subclass of SimpleDelegator)\n\n## API\n* [Routes](templates/routes.rb.erb) with API subdomain and version namespacing\n* [ApiConstraints](templates/api_constraints.rb.erb) for API version control\n* [Configurations/Ping endpoint](templates/configs_controller.rb) to test that the API works :)\n\n## Dependencies\nBarebones requires the latest version of Ruby (2.4.1), Rails (5.1.1), and\nPostgreSQL (9.4) on your local machine.\n \n## License\nBarebones is copyright © 2015-2016 Danny Yu.  \nIt is free software, and may be redistributed under the terms specified in the [LICENSE] file.\n\n[LICENSE]: LICENSE\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdannyyu92%2Fbarebones","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdannyyu92%2Fbarebones","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdannyyu92%2Fbarebones/lists"}