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 • Rails 7 API Tutorial - Create project and ...
📖 You can also purchase the eBook and code for the new Rails 7 tutorial - https://tomkadwill.gumroad.com/l/rail...
This video covers:
0:09 - Explaining how validations are used in create controllers
1:42 - Adding presence and length validations to the model
4:58 - Testing validation errors in JSON API response body
9:39 - Testing an API call with no validation errors
If you’re new to this series, you may want to start with part 1: • Rails 6 API Tutorial - Create project and ...