Vue CRUD App With A Ruby On Rails 7 API Tutorial

preview_player
Показать описание
You've seen CRUD API Apps with React and Rails, but how about Vue? Well here you go!

Learn how to do all of the CRUD actions in a Vue app while communicating with a Ruby on Rails 7 backend API.

Remember, CRUD means you'll be able to:
Create,
Read,
Update,
Destroy

Join this channel to help support these videos:

Follow me on social media:

Timestamps

#Deanin #Software #Programming
Рекомендации по теме
Комментарии
Автор

Looking for more suggestions for tutorials! Also would love suggestions on a way to show you what's on the list and what's coming soon. An excel sheet seems kinda lame, any ideas? Maybe a public Trello board?

Deanin
Автор

this is exactly what i want to learn right now! thanks you!

marcymercy-sxoc
Автор

Bless you for this, sir. You are my hero, jumpstarting me into the web dev world much quicker than I could by sifting through documentation myself. I'm learning all these different frameworks at once and it can get a little overwhelming, but this is a beautiful beginner-friendly gem of a video that has really helped me hit the ground running, along with some of your other videos. Thank you!

phatdump
Автор

Thank you so much for showcasing this! Loved this! :)

jazilzaim
Автор

Thank you! Amazing video!
Just wondering if you are planning to make a video explaining how to do authorization and authentication for Vue/Vite?

ppavelcars
Автор

You shouldn't be passing the id as part of the post data, its already included in the restful route e.g. put '/post/:id', also, you added it to the strong params which means people can now update the database id by passing it as part of the post body. definitely not something you want.

The id should be passed in the url (as convention), then set in a before action, where you can do any required authorization to ensure the current user has access to the resource with that id, then use strong params to allow mass assignment of only the fileds you want the user to be able to update (of which ID should not be one of).

fyi - just posting this here for any beginners, I know deanin knows this and this wasnt the point of the video, probs just running on too much coffee and not enough sleep lol

bradchellingworth
Автор

Actually, these are two separate projects!

abson-sunz