{"id":21324030,"url":"https://github.com/samuraikun/graphql-ruby-hands-on","last_synced_at":"2026-05-15T22:04:01.616Z","repository":{"id":97125643,"uuid":"586410470","full_name":"samuraikun/graphql-ruby-hands-on","owner":"samuraikun","description":"using GraphQL on Ruby3/Rails7","archived":false,"fork":false,"pushed_at":"2024-05-27T18:25:32.000Z","size":124,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T23:20:44.918Z","etag":null,"topics":["batch-loader","graphql","graphql-ruby","ruby-on-rails-7","ruby3"],"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/samuraikun.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":"2023-01-08T02:58:54.000Z","updated_at":"2024-05-27T18:25:33.000Z","dependencies_parsed_at":"2024-05-27T21:43:09.855Z","dependency_job_id":null,"html_url":"https://github.com/samuraikun/graphql-ruby-hands-on","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"saboyutaka/ruby3-rails7-devcontainer","purl":"pkg:github/samuraikun/graphql-ruby-hands-on","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuraikun%2Fgraphql-ruby-hands-on","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuraikun%2Fgraphql-ruby-hands-on/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuraikun%2Fgraphql-ruby-hands-on/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuraikun%2Fgraphql-ruby-hands-on/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samuraikun","download_url":"https://codeload.github.com/samuraikun/graphql-ruby-hands-on/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuraikun%2Fgraphql-ruby-hands-on/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279012639,"owners_count":26085158,"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","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["batch-loader","graphql","graphql-ruby","ruby-on-rails-7","ruby3"],"created_at":"2024-11-21T20:28:22.229Z","updated_at":"2025-10-12T19:07:16.577Z","avatar_url":"https://github.com/samuraikun.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DevContainer for Ruby 3.3, Rails 7.1, graphql-ruby, and Sidekiq\n\n[devcontainer](https://code.visualstudio.com/docs/remote/containers) for Ruby3.3, Ruby on Rails 7.1\n\n- language server: [solargraph](https://github.com/castwide/solargraph)\n- debugging: [debug](https://github.com/ruby/debug)\n- formatter: [rubocop](https://github.com/rubocop/rubocop)\n- type checking: [rbs](https://github.com/ruby/rbs), [rbs_rails](https://github.com/pocke/rbs_rails), [steep](https://github.com/soutaro/steep)\n\n## VSCode DevContainer\n\n### Install remote container\n\n※ https://code.visualstudio.com/docs/remote/containers#_installation\n\n### Run DevContainer\n\n1. Open VSCode, then run `Reopen in Container`\n\n## Operation\n\n### Run Rails server\n\nRun below command in terminal on the DevContainer\n\n```bash\n$ bin/rails db:seed\n$ bin/rails s\n```\n\n### GraphQL Playground\n\nAccess to `http://0.0.0.0:3000/graphiql`\n\n![Screenshot 2024-05-17 at 17 13 00](https://github.com/samuraikun/graphql-ruby-hands-on/assets/7115171/20f07552-a33f-4753-a626-f64ff56148d6)\n\n### Type Checking\n\n```bash\n$ bundle exec rbs collection install\n\n# rbs_rails\n$ bin/rake rbs_rails:all\n\n# Steep check\n$ bundle exec steep check\n```\n\n### Solargraph\n\n```bash\n# Generate documentation for bundled gems\n$ bundle exec solargraph bundle\n\n# Download Ruby core documentation\n$ bundle exec solargraph download-core\n```\n\n## Debugging\n\nRun `Run Debug` (Shortcut key: F5)\n\n[VSCode Debugging](https://code.visualstudio.com/docs/editor/debugging)\n\n\u003cimg width=\"900\" alt=\"debugging\" src=\"https://user-images.githubusercontent.com/1701108/189269013-1c9c8e8e-f6df-4cc1-b695-4fc9130d85a2.png\"\u003e\n\n## VSCode extensions\n\n- [rebornix.Ruby](https://marketplace.visualstudio.com/items?itemName=rebornix.Ruby)\n- [castwide.solargraph](https://marketplace.visualstudio.com/items?itemName=castwide.solargraph)\n- [KoichiSasada.vscode-rdbg](https://marketplace.visualstudio.com/items?itemName=KoichiSasada.vscode-rdbg)\n- [soutaro.steep-vscode](https://github.com/soutaro/steep-vscode)\n- [soutaro.rbs-syntax](https://marketplace.visualstudio.com/items?itemName=soutaro.rbs-syntax)\n- [redhat.vscode-yaml](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml)\n- [VisualStudioExptTeam.vscodeintellicode](https://marketplace.visualstudio.com/items?itemName=VisualStudioExptTeam.vscodeintellicode)\n- [esbenp.prettier-vscode](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)\n- [EditorConfig.EditorConfig](https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig)\n- [GitHub.copilot](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot)\n- [GitHub.copilot-chat](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat)\n\n## Architecture\n\nWork on Docker Compose\n\n- app: [ruby:3.1-bullseye](https://hub.docker.com/_/ruby)\n- sidekiq: [v7](https://github.com/sidekiq/sidekiq)\n- postgres: [postgres:14](https://hub.docker.com/_/postgres)\n- redis: [redis:7](https://hub.docker.com/_/redis)\n\n## References\n\n- [Visual Studio Code Doc - Developing inside a Container](https://code.visualstudio.com/docs/remote/containers)\n- [VS Code Solargraph Extension](https://github.com/castwide/vscode-solargraph)\n- [VSCode rdbg Ruby Debugger](https://marketplace.visualstudio.com/items?itemName=KoichiSasada.vscode-rdbg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuraikun%2Fgraphql-ruby-hands-on","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamuraikun%2Fgraphql-ruby-hands-on","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuraikun%2Fgraphql-ruby-hands-on/lists"}