{"id":19238864,"url":"https://github.com/vic778/rails-api","last_synced_at":"2026-06-27T23:30:16.187Z","repository":{"id":103298412,"uuid":"549430458","full_name":"vic778/Rails-api","owner":"vic778","description":"schematize the request that a user sends to the server to receive a response. customize the app so that rswager is the main controller so that it responds in all environments","archived":false,"fork":false,"pushed_at":"2022-10-11T07:14:28.000Z","size":133,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-01-18T16:02:08.563Z","etag":null,"topics":["devise","rswag","ruby","ruby-on-rails","uuid-generator"],"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/vic778.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-11T07:12:55.000Z","updated_at":"2023-05-13T12:00:49.000Z","dependencies_parsed_at":"2023-03-05T13:00:22.542Z","dependency_job_id":null,"html_url":"https://github.com/vic778/Rails-api","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/vic778%2FRails-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vic778%2FRails-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vic778%2FRails-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vic778%2FRails-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vic778","download_url":"https://codeload.github.com/vic778/Rails-api/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240324071,"owners_count":19783455,"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":["devise","rswag","ruby","ruby-on-rails","uuid-generator"],"created_at":"2024-11-09T16:35:00.006Z","updated_at":"2026-06-27T23:30:16.114Z","avatar_url":"https://github.com/vic778.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"![build \u0026 test \u0026 quality](https://github.com/cousins-factory/rails-api-boilerplate/actions/workflows/main.yml/badge.svg?branch=main)\n[![Ruby Style Guide](https://img.shields.io/badge/code_style-rubocop-brightgreen.svg)](https://github.com/rubocop/rubocop)\n![Ruby Version](https://img.shields.io/badge/ruby_version-3.1.2-blue.svg)\n![Rails Version](https://img.shields.io/badge/rails_version-7.0.3.1-c52f24.svg)\n[![Swagger documentation](https://img.shields.io/badge/swagger_documentation-84e92c.svg?\u0026logo=swagger\u0026logoColor=black)](docs/SWAGGER.md)\n\n# Rails API Boilerplate\n![cover](docs/cover.jpeg)\n\n# How to Works?\n```mermaid\nflowchart TD\n  R[Request] --\u003e C[Application Controller]\n  C --\u003e O[Application Operation]\n  O -- Validate Params --\u003e AC[Application Contract]\n  O -- Application Contract returned success?--\u003e S[Application Service]\n  AC -- Validation success? --\u003e O[Application Operation]\n  AC -- Validation failed? --\u003e E[Contract Errors]\n  E --\u003e RE\n  S -- Process successful? --\u003e RS[Resource]\n  S -- Process failed? --\u003e OE[Resource Errors]\n  OE --\u003e RE[Response]\n  RS --\u003e RE\n  RE -- Returns --\u003e C\n```\n\n# Documentations\n- [Swagger](docs/SWAGGER.md)\n- [Service generator](docs/SERVICE.md)\n- [Contract generator](docs/CONTRACT.md)\n- [Search \u0026 Filter \u0026 Sort](docs/RANSACK.md)\n\n# Installation\n## Prerequisites\n- [Ruby](https://rvm.io/)\n- [PostgreSQL](https://www.postgresql.org/)\n- [Redis](https://redis.io/)\n\n## Installation\n- Install GEM dependencies:\n  ```bash\n  bundle install\n  ```\n\n- Create database, migrate tables and run the seed data:\n  ```bash\n  rails db:create\n  rails db:migrate\n  rails db:seed\n  ```\n\n- If you are setting up again, when you already have previous databases:\n  ```bash\n  rails db:reset\n  ```\n  `reset` is equivalent of `rails db:drop \u0026 rails db:setup`.\n\n-  Run the server\n   ```bash\n   ./bin/dev\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvic778%2Frails-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvic778%2Frails-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvic778%2Frails-api/lists"}