In this video series we will build a Rails API from scratch. Backend APIs are useful for serving data to frontend applications, mobile apps or other backend services.
✨ Check out the new version of this video series, which has been updated for Rails 7 [ Ссылка ]
📖 You can also purchase the eBook and code for the new Rails 7 tutorial - [ Ссылка ]
This video covers:
00:00 - Adding BookRepresenter to the create action
02:28 - Adding an API response body test, for a single object
06:19 - Fix FactoryBot by using an Author object instead of a string
10:14 - Adding an API response body test, for an array of objects
12:09 - Moving JSON.parse(response.body) into a spec helper
If you’re new to this series, you may want to start with part 1: [ Ссылка ]
Ещё видео!