{"id":21423323,"url":"https://github.com/eth3rnit3/rails_api_template","last_synced_at":"2025-04-19T14:40:16.212Z","repository":{"id":98970352,"uuid":"544058173","full_name":"Eth3rnit3/rails_api_template","owner":"Eth3rnit3","description":"Rails api template it make ready to code","archived":false,"fork":false,"pushed_at":"2022-10-11T22:00:23.000Z","size":67,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T08:43:43.100Z","etag":null,"topics":["api","rails","ruby","template"],"latest_commit_sha":null,"homepage":"","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/Eth3rnit3.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-01T14:31:47.000Z","updated_at":"2023-08-30T11:56:43.000Z","dependencies_parsed_at":"2023-07-02T22:45:36.331Z","dependency_job_id":null,"html_url":"https://github.com/Eth3rnit3/rails_api_template","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eth3rnit3%2Frails_api_template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eth3rnit3%2Frails_api_template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eth3rnit3%2Frails_api_template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eth3rnit3%2Frails_api_template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Eth3rnit3","download_url":"https://codeload.github.com/Eth3rnit3/rails_api_template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249716228,"owners_count":21315062,"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":["api","rails","ruby","template"],"created_at":"2024-11-22T21:15:59.894Z","updated_at":"2025-04-19T14:40:16.206Z","avatar_url":"https://github.com/Eth3rnit3.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What does it do?\nThis repos is related to a Ruby on rails template, it add dependencies and configuration to make your rails api projet ready to code. No additional configuration is required\n\n**build with ruby `3.0.2` and rails `7.0.4`**\n\n## What are the pre-configured dependencies?\n- [Devise-jwt](https://github.com/waiting-for-dev/devise-jwt) for api authentification based on Jwt token\n- [Pundit](https://github.com/varvet/pundit) to manage authorizations\n- [Rack-cors](https://github.com/cyu/rack-cors) to avoid cors error (development setup only)\n- [Annotate](https://github.com/ctran/annotate_models) to add sql column on models, specs and factories\n- [Letter Opener](https://github.com/ryanb/letter_opener) to preview mail in development\n- [Rubocop Rails](https://github.com/rubocop/rubocop-rails) linter and config for rails project\n- [FactoryBot Rails](https://github.com/thoughtbot/factory_bot_rails) great spec fixtures with config\n- [Rspec Rails](https://github.com/rspec/rspec-rails) great testing framework with config\n- [Database Cleaner](https://github.com/DatabaseCleaner/database_cleaner) to avoid data conflict in test\n- [Webmock](https://github.com/bblimke/webmock) to mock api requests during test\n- [Siplecov](https://github.com/simplecov-ruby/simplecov) for spec coverage metrics\n- [Faker](https://github.com/faker-ruby/faker) for random test data\n- [Byebug](https://github.com/deivid-rodriguez/byebug) for debug breaking point (because I prefer it to the official debugger)\n\n\n# Usage\n```shell\ngit clone git@github.com:Eth3rnit3/rails_api_template.git\nrails new my_app -T -J --database=postgresql --api -m ./rails_api_template/template.rb\ncd my_app\n\n# Without docker\nrails s\n\n# With docker\ndocker-compose up -d --build \u0026\u0026 docker-compose logs -f --tail=100\n```\n\n# Features\n## Dockerization\nTemplate will ask you to dockerize app, it will configure docker image for api, worker and database (if db adapter is compatible with this template).\n\n| Adapter        | Compatible | Version |\n|----------------|------------|---------|\n| postgresql     | ✅          | 12.1    |\n| mysql          | ✅          | 5.7     |\n| sqlite3        | ✅          | 3       |\n| oracle         | ❌          | -       |\n| sqlserver      | ❌          | -       |\n| jdbcmysql      | ❌          | -       |\n| jdbcsqlite3    | ❌          | -       |\n| jdbcpostgresql | ❌          | -       |\n| jdbc           | ❌          | -       |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feth3rnit3%2Frails_api_template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feth3rnit3%2Frails_api_template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feth3rnit3%2Frails_api_template/lists"}