예상 리딩 타임: 30min ~ 1hour

아래의 다큐멘테이션은, 간단한 유저모델, 그리고 간단한 글을 남길 수 있도록 API 설계와 함께 구성 되어 있습니다.

Data Type

Terms

auto load path

module Tutorial2
  class Application < Rails::Application
    # Initialize configuration defaults for originally generated Rails version.
    config.load_defaults 6.1
    config.autoload_paths << "#{Rails.root}/lib"

    # Configuration for the application, engines, and railties goes here.
    #
    # These settings can be overridden in specific environments using the files
    # in config/environments, which are processed later.
    #
    # config.time_zone = "Central Time (US & Canada)"
    # config.eager_load_paths << Rails.root.join("extras")
  end
end

Gemfile

리액트에선 package.json과 같은 역할을 합니다. 이곳에 필요한 라이브러리를 불러오고, bundle 커맨드를 리눅스에서 입력하여 설치 합니다. bundle을 하기 위해선 bundler가 설치 되어 있어야 합니다. 설치 되어 있지 않은 경우 지시사항을 따라서 설치 하면 됩니다.

초반에는 버저닝이라는게 매우 까다롭게 다가옵니다. 처음에 루비와 레일즈에 초점을 두시고, 익숙해지실 즈음, 버저닝의 세계에 빠져보시길 권장합니다.