Rails 6 API Tutorial - Basic controllers and models p.2

Publié le: 20 juin 2020
sur la chaîne: Rails Pro
13,488
255

In this video series we will continue building a Rails API. 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:
1:10 - Generating a controller with Rails scaffolding
3:02 - Testing the controller with cURL
4:18 - Updating the controller to return a list of books
5:31 - Creating a Book model and database migration
7:15 - Running the migration
9:12 - Adding Book records to the database, via the Rails console

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


Sur cette page du site, vous pouvez voir la vidéo en ligne Rails 6 API Tutorial - Basic controllers and models p.2 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Rails Pro 20 juin 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 13,488 fois et il a aimé 255 téléspectateurs. Bon visionnage!