> Web系エンジニアを目指してReactとRailsでポートフォリオを作成しようとしてER図と画面遷移図は作成したのですが、 > これからどのようなプロセスで実装していけば良いのか具体的なイメージがつかず困っております。 > お手数おかけしますが、一度相談に乗ってもらっても宜しいでしょうか。 > # APIを学ぶ ## 参考書 https://www.amazon.co.jp/Web-API-Parts-%E6%B0%B4%E9%87%8E-%E8%B2%B4%E6%98%8E/dp/4873116864/ref=asc_df_4873116864/?tag=jpgo-22&linkCode=df0&hvadid=295719984664&hvpos=&hvnetw=g&hvrand=7774124864027831753&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=1009224&hvtargid=pla-524807282299&psc=1&th=1&psc=1 https://www.amazon.co.jp/API%E3%81%AE%E8%A8%AD%E8%A8%88-Programmers-SELECTION-Arnaud-Lauret/dp/4798167010/ref=asc_df_4798167010/?tag=jpgo-22&linkCode=df0&hvadid=342518373760&hvpos=&hvnetw=g&hvrand=7774124864027831753&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=1009224&hvtargid=pla-923722085651&psc=1&th=1&psc=1 ## ネットのガイド https://cloud.google.com/apis/design?hl=ja # Railsの書き方 ```ruby= def index @users = User.all render json: @users end ``` # Gem https://github.com/rails-api/active_model_serializers https://github.com/amatsuda/jb デフォルトのjbuilderでも良いがパフォーマンスはちょっと悪い。 # OpenAPI https://qiita.com/teinen_qiita/items/e440ca7b1b52ec918f1b https://petstore.swagger.io/?_ga=2.250041798.1776387488.1667029062-729337622.1667029062 https://github.com/k0kubun/rspec-openapi