LoginSignup
3
0

More than 1 year has passed since last update.

[Rails]RailsのAPIモードのやり方

Posted at

はじめに

RailsでAPIモードを使ったので備忘録として残しておきます。

Rails APIモードとは

Railsでプロジェクトを作成する際に選べるモードです。
APIモードで作成すると、フロントエンドとの通信に利用する部分(migration, model, controller)などのみを生成します。

やり方

rails new プロジェクト名 --api

以上で作成することができます。

3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0