0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

rails new コマンドで最小構成のAPIをつくるときのメモ

0
Last updated at Posted at 2019-06-11

はじめに

Railsで最小構成のAPIサーバーを作りたいときの自分用メモ

環境

  • Rails 5.2

rails new コマンド

不要なものはskipさせる

$ rails new <アプリ名> --database=postgresql --api --skip-yarn --skip-action-mailer --skip-active-storage --skip-action-cable --skip-sprockets --skip-javascript --skip-turbolinks --skip-test --skip-bundle

さいごに

Railsはフルスタックなフレームワークといわれているけど、APIサーバーもサクッと建てられるので便利

0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?