Simple Ruby on Rails 5 REST API From Scratch

preview_player
Показать описание
In this video I will show you how to create a very simple REST API from scratch using Ruby on Rails 5. We will be able to make requests to perform CRUD on articles stored in a MySQL database. We will install the mysql2 gem along with the faker gem to randomly generate content.

CODE: Code for this video

SUPPORT: We spend massive amounts of time creating these free videos, please donate to show your support:

FOLLOW TRAVERSY MEDIA:

MY EDUONIX COURSES: Please use affiliate links from website below
Рекомендации по теме
Комментарии
Автор

It's a joy to see that people are still learning rails. Beautiful framework for beautiful language!

jarredmacquoid
Автор

You are an absolute blessing, I was going thru your Laravel tutorial on Udemy and then I was thinking of a scenario and wanted to know how to expose a REST api thru rails, I googled and then heard a familiar voice and there you are again lol. Thank you for doing what you do, and I took your Bootstrap 4 course as well which significantly made me better at UI.

udyatbhanubaliyarsingh
Автор

You managed to cover what took my instructor almost 4 hours to cover in 1 hour. and it is so clear and easy to follow. thank you so much for making this.

chainer
Автор

Fantastic video man! Thank you very much. Your channel has been and continues to be extremely helpful. Keep up the great work!

Templars
Автор

I have been watching your videos for like a year and you inspired me to learn to program. I'm a rails developer now and I literally never know what the hell you looked like. Hahaha, thanks so much for being awesome. Keep up the good work. You have become my after work podcast on my way home. :)

buttered_numbat
Автор

For anyone using rails 6, the update_attributes function is deprecated. It is simply Great Video either way but wished there was some installation guide, as a beginner it took me a long time trying to gem install mysql2.

clementhung
Автор

Thank you so much. Rails 5 is amazing, I'm so grateful for your tutorial.

sirajussalekin
Автор

I'm so glad that you made this video!
I thought that you gave up on Rails.
Thanks for your great videos :)

websebdev
Автор

Great video, Brad! After this, now learning how to add authentication to the API using Devise and JWT. Wouldn't advance without this video! Thanks a lot!

israeluribe
Автор

Love starting up youtube and seeing new great content. Keep up the great work.

crazy_vulcan
Автор

Thanks so much for making this tutorial - I'm still a student now but I'll make sure to show my support once I have a full time job - many thanks again!

philschmidt
Автор

I like your style Brad. Thanks for this tutorial it was very well done and easy to understand. I really like the pace and explanation on your tutorials. Thanks

ryanmontgomery
Автор

Exactly what I needed. Great video... 4 years later and is very useful yet.... thanks

BIERKOFF
Автор

Great simple tutorial. Thanks! And it's so awesome to be running Rails on Windows now finally!!!

ThePolaris
Автор

Great tutorial, easy to follow and well explained. Thank you!!

curlykink
Автор

Great video man. Much better than all the other tutorials on rails APIs

maxarellano
Автор

Definitely donating for great content!
Thank you for uploading a ror project again!

luissantiago
Автор

Great starting tutorial, it got me going in the right direction. I did hit a wall attempting to connect to a pre-existing database and not a newly created one. RoR has this funny opinion about lower case table names and pluralizing things by default so that took me a while to figure out. But now I'm off to the races. Thanks!

luminarycrush
Автор

I followed tonight this tutorial without any problems. I have already used Postman before but with you explaining it looks like easier. Nowadays the Postman Extension is deprecated as Google Web Store shows in its page and they suggest us to use Postman Native Apps, but even this way it worked perfectly here. Thanks again for sharing your experience with us, Brad. :)

Автор

I bought your course by building 12 applications with Angular 2 and it's amazing, and all the videos you've done on youtube have been the same, I've learned too much! THANK YOU!

I'll wait for the authentication token! (Part 2 of this video haha) thanks! : P

andreivandrummer