構建API服務器1

本文來源於ruby-china https://ruby-china.org/topics/25822數據庫 1. 新建項目 rails new build-an-api-rails-demo 2. 生成控制器 #不生成資源文件 rails g controller api/v1/base --no-assets 編輯 app/controller/api/v1/base_controller.r
相關文章
相關標籤/搜索