Rails 6 API Tutorial - Controller Representers p.12

Pubblicato il: 18 settembre 2020
sul canale di: Rails Pro
5,786
146

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:00 - Introduction. What problem do representers solve?
1:25 - What are representers (serializers)
2:11 - How representers are called from Rails controllers
3:07 - Add a representer for books
7:15 - Test the representer via cURL and debug
10:23 - Use a method for representing a more complex field

If you’re new to this series, you may want to start with part 1:    • Rails 6 API Tutorial - Create project and ...  


In questa pagina del sito puoi guardare il video online Rails 6 API Tutorial - Controller Representers p.12 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Rails Pro 18 settembre 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 5,786 volte e gli è piaciuto 146 spettatori. Buona visione!