Create a Basic API with Ruby on Rails - Part 1 - Returning JSON Data

preview_player
Показать описание
PART 1 - Returning JSON DATA

Welcome to a new ongoing tutorial mini-series dedicated to building an API-driven Ruby on Rails application.

The goal of this series is to give some perspective of what it's like building a backend API that can talk to multiple applications no matter the platform.

I plan to discuss topics like returning data to a client, routing, versioning, authentication, and more.

=======

♥️ Sponsor me on GitHub

☕️ Keep me awake. Buy me a coffee

📰 One-Click Subscribe:

💻 Previously published at:

👋 Latest Course: HELLO HTML & CSS (coming soon)👋

💎Ruby on Rails Course: HELLO RAILS

💻 Check out the blog:

🦄 Check out my personal site:

🚀 Links:

📘Check out my book on UX Design:
"LUXD: Learn User Experience Design"

📙 Check out my FREE book on Tumblr Theming:
"Pro Tumblr Theming"
Рекомендации по теме
Комментарии
Автор

I love the theme which you are using in VS Code!

rustam_tolipov
Автор

Great content, thanks for sharing Andy!

pedrocxbx
Автор

Thank you for your tutorial. I wonder which extension that helps you type so fast?

TheCardboardWorkshop
Автор

Thanks for this tutorial! Hey I have a question, after I migrate after creating the first book. I can't see anything on the localhost:3000 ? I've created an api before with localhost:3000/api/v1/ and get a response on postman but when I follow the steps I cant get anything back. What could it be?

rcolon
Автор

Very nice. Insane you don't have more views.

pointerish
Автор

It looked like it was added to git without any commands... how did you set that up?

jackepner
Автор

Is it possible to only show certain data in, for example, the index action of the controller and other data in the show action? I want to show more detailed info in show, but with the serializer is always the same

Pelucuerdas
Автор

Awsome video. But i dont know why, bur the --api command doesn't works on may rails 6.1.7. Doens not creates any API controllers or JSON renderings, e etc.. It creates a rails full app. Dont know what to do.. anyone please?

marcosporto
welcome to shbcf.ru