Giter Site home page Giter Site logo

graphql-ruby-hands-on's Introduction

DevContainer for Ruby 3.3, Rails 7.1, graphql-ruby, and Sidekiq

devcontainer for Ruby3.3, Ruby on Rails 7.1

VSCode DevContainer

Install remote container

โ€ป https://code.visualstudio.com/docs/remote/containers#_installation

Run DevContainer

  1. Open VSCode, then run Reopen in Container

Operation

Run Rails server

Run below command in terminal on the DevContainer

$ bin/rails db:seed
$ bin/rails s

GraphQL Playground

Access to http://0.0.0.0:3000/graphiql

Screenshot 2024-05-17 at 17 13 00

Type Checking

$ bundle exec rbs collection install

# rbs_rails
$ bin/rake rbs_rails:all

# Steep check
$ bundle exec steep check

Solargraph

# Generate documentation for bundled gems
$ bundle exec solargraph bundle

# Download Ruby core documentation
$ bundle exec solargraph download-core

Debugging

Run Run Debug (Shortcut key: F5)

VSCode Debugging

debugging

VSCode extensions

Architecture

Work on Docker Compose

References

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.