Vue CRUD App With A Ruby On Rails 7 API Tutorial

Поділитися
Вставка
  • Опубліковано 6 лис 2024

КОМЕНТАРІ • 16

  • @Deanin
    @Deanin  Рік тому +3

    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?

    • @goo_tx
      @goo_tx Рік тому +1

      How about a trello clone course... then use that for your youtoobings?

  • @phatdump
    @phatdump Рік тому +2

    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!

  • @mikopiko
    @mikopiko Рік тому +7

    Can't wait for Hotwire Strada

  • @marcymercy-sx6oc
    @marcymercy-sx6oc 7 місяців тому

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

  • @jazilzaim
    @jazilzaim 8 місяців тому

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

  • @jumprails
    @jumprails Рік тому +1

    Top tutorial sir!

  • @ppavelcars
    @ppavelcars Рік тому +2

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

    • @Deanin
      @Deanin  Рік тому +2

      I've got it on my list to try the doorkeeper approach but with Vue. Just need to setup the entire form and make it all work 😬

  • @bradchellingworth5973
    @bradchellingworth5973 Рік тому +4

    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

  • @azizdevfull
    @azizdevfull Рік тому

    suuuuuu : ) very useful for me : )

  • @abson-su2nz
    @abson-su2nz Рік тому

    Actually, these are two separate projects!

    • @magnacarta7045
      @magnacarta7045 Рік тому

      that's the point. rails is best used as a separate backend for handling of database and APIs.