I build a TODO list app with Laravel in 17 minutes.

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024
  • НаукаНаука

Комментарии • 64

  • @vcodev108
    @vcodev108 6 месяцев назад +2

    17 minutes!!!! never thought I would follow along with you and create a todo in such short span of time, thanks please continue to make more real world stuff using laravel and livewire!

    • @joshcirre
      @joshcirre  6 месяцев назад

      Thank you! I'll keep giving it a shot. ☺️

  • @myam754
    @myam754 6 месяцев назад +1

    I've stayed awake binge watching your channel and then you dropped this! Thank you for giving this value to us!

    • @joshcirre
      @joshcirre  6 месяцев назад

      Thank you so much. That means a lot!

  • @Z4KIUS
    @Z4KIUS 6 месяцев назад

    being up to date with the latest starter kit certainly helped a lot, but even diving into docs that probably would be within a day of work
    obviously if you'd start polishing the UI and taking care of minor details these remaining 10% would take another 90% of the time or more, but that's still impressive
    knowing your tools and what you want to do are the greatest efficiency helpers

    • @joshcirre
      @joshcirre  6 месяцев назад

      You're right. If you didn't know Laravel, you can't move as quick as this. That's okay. But hopefully it shows you that knowing it means moving quicker than when other people who might use something like NextJS. :)

  • @matthewmiranda4227
    @matthewmiranda4227 6 месяцев назад +1

    Awesome content learned a lot in just 17mns.. that vscode theme tho haha so bright

    • @joshcirre
      @joshcirre  6 месяцев назад

      Sorry for the flashbang. 😂 I usually swap back and forth from light to dark every now and then. But thank you for watching despite the bright screen. 😅

    • @filipvanreeth
      @filipvanreeth День назад

      @@joshcirre what's the name of the theme. I like it. Also I like the clean setup ;-)

  • @anggitariutomo1771
    @anggitariutomo1771 6 месяцев назад +2

    16:42 you still can delete it, because the user login is the one who own the todo. can test the policy by change Auth::user()->todos()->get() to Todo::all().

    • @joshcirre
      @joshcirre  6 месяцев назад +1

      Yep! That's true. You can still delete it because of the inherit nature, so I should have tested and shown what would happen if we tried to delete it and weren't the logged in user. Good shot. :)

  • @edventuretech
    @edventuretech 6 месяцев назад

    I love this!
    This is the first time I watch your vdo.
    I'm going to subscribe you from now!

  • @69k_gold
    @69k_gold 6 месяцев назад +5

    Lot of people might not realise this, but this kind of efficiency can only be learnt after a lot of experience with the language and the framework, a ballpark estimate of 2 years minimum if I say so myself.
    Please do not use this as your starting point to learn Laravel or PHP. Also, amazing efficiency and usage of tools man!

    • @joshcirre
      @joshcirre  6 месяцев назад +4

      I agree that at this speed it doesn't look like this for everyone.
      BUT, I would say if you are an experienced dev in any language (JS, Ruby, Python), this should be a great primer for how you might want to start playing around with Laravel.
      A complete beginner? No there are better options. 😁

  • @bobbyiliev_
    @bobbyiliev_ 5 месяцев назад

    Great video! Well done 👏

    • @joshcirre
      @joshcirre  5 месяцев назад

      Thank you! 😊

  • @chrisumeran
    @chrisumeran 6 месяцев назад +1

    I am learning Laravel and I find your channel very helpful! Btw, your code editor is so clean, I'm a fan of it. Can I ask how did you set that up?

    • @joshcirre
      @joshcirre  6 месяцев назад +1

      Thank you! I hope your Laravel journey is a fun one. It has been for me! :)
      The majority of my VS Code setup is through Caleb Porzio’s “Make VS Code Awesome” course. Its fantastic. Lots of opinions that I like in a minimal setup.

    • @chrisumeran
      @chrisumeran 6 месяцев назад

      @@joshcirre Thanks! Will check on it. Keep up the good content!!

  • @omninspire
    @omninspire 6 месяцев назад

    Great video. Thanks!

    • @joshcirre
      @joshcirre  6 месяцев назад

      Thanks so much for watching. :)

  • @filipvanreeth
    @filipvanreeth День назад

    What's the VS Code icon set you are using? Great tutorial!

    • @joshcirre
      @joshcirre  15 часов назад

      Thanks! This is the Catppuccin Frappe icon set. :)

  • @GizaRex
    @GizaRex 6 месяцев назад

    Great video, thank you. Will look into Livewire soon. What font do you use in the editor?

    • @joshcirre
      @joshcirre  6 месяцев назад

      This is the "Dank Mono" font. :)

  • @kemal6039
    @kemal6039 6 месяцев назад

    I recently made a post on reddit and said I built a note taking app with Laravel in an hour. And people said I was bs'ing lol. I'll refer them to this video.

    • @joshcirre
      @joshcirre  6 месяцев назад +1

      I'm glad I could be that resource for you. Yes! It really can be that fast in Laravel. ☺️

  • @wagnerfernandes8780
    @wagnerfernandes8780 6 месяцев назад

    Awesome content! keep it comming!

    • @joshcirre
      @joshcirre  6 месяцев назад

      Thank you. ☺️

  • @harem_lord-FFM
    @harem_lord-FFM 6 месяцев назад

    Very good. I just shifted to backend coz I can't finish an entire feature with just front end lols.

    • @joshcirre
      @joshcirre  6 месяцев назад

      The amount of things Laravel gives you for free beyond what I show in this short little video is absolutely crazy. I love it. :)

  • @marcosaugustoschultzwutke6670
    @marcosaugustoschultzwutke6670 6 месяцев назад

    Very good!

  • @a2zcourse
    @a2zcourse 6 месяцев назад

    thank you for the video,
    Please can you tell me What Code Editor you're using?

    • @joshcirre
      @joshcirre  6 месяцев назад +1

      Thank you for watching! This is VS Code, just extremely custom using things like APC plugin. I use a lot of Caleb Porzio's tips in the "Make VS Code Awesome" course.

    • @a2zcourse
      @a2zcourse 6 месяцев назад

      @@joshcirre thank you

  • @xx__xx7199
    @xx__xx7199 6 месяцев назад

    please make a video teaching rest api with laravel and some meta framework js

    • @joshcirre
      @joshcirre  6 месяцев назад +1

      Hmm. So like a Laravel and NextJS tutorial?

    • @xx__xx7199
      @xx__xx7199 5 месяцев назад

      @@joshcirre No next js no , something like Sveltekit or Nuxt it would be nice

  • @sllkevin8885
    @sllkevin8885 6 месяцев назад

    Thanks for all your videos but please switch back to dark mode, way too bright to follow along from dark environment. Also, you’re filming yourself in a dark room with warm lighting so the color balance on you against the cool bright background looks off.

    • @joshcirre
      @joshcirre  6 месяцев назад

      Thanks for the feedback. I’ll try to keep it more consistent. ☺️

  • @anzalkuzhivelipady6554
    @anzalkuzhivelipady6554 6 месяцев назад

    How do you get the auto-completion, which tool are you using?

    • @joshcirre
      @joshcirre  6 месяцев назад

      This is just Github Copilot actually. But I am playing around with Supermaven, Codeium, and Cody. :)

  • @avenirer
    @avenirer 4 месяца назад

    Hello. Wouldn't the fact that you used "Auth::user()->todos()->where('id', $id)->delete()" already make it safe by the simple fact that you mentioned that you need the todos that belong to the user? Otherwise, why not use "Todo->where('id',$id)->delete()" and then use Policies?

    • @joshcirre
      @joshcirre  4 месяца назад

      Yep. You're correct. It's not necessary for this particular query. BUT it is helpful to have in place just in case the query was written differently or forgotten. It's helpful to do both.
      I dive into this a little bit further in my "Is Laravel Livewire actually secure?" video, but you're absolutely correct. :)

  • @bumblebity2902
    @bumblebity2902 Месяц назад

    Where is JsonResource?

  • @millaz9125
    @millaz9125 5 месяцев назад

    I can’t make the command « herd open » on my terminal, for What ?

    • @joshcirre
      @joshcirre  5 месяцев назад

      Are you using Laravel Herd by chance? That’s what I’m using for local development. It makes things incredibly easy and gives you those commands after installing. ☺️

  • @HiImKyle
    @HiImKyle 2 месяца назад

    The policy seems useless if you are just grabbing the todos from the authed user anyway? You will only get todos related to the user that created them which is always going to be the user that is logged in and viewing the todos.. So whats the point in checking if the todo they are trying to delete is theirs.. when you only show theirs and only delete the todo if you find it in their todos anyway... Right? that makes sense in my head

    • @joshcirre
      @joshcirre  2 месяца назад

      Yep! Not needed, but helpful to show you can do that if for some reason you’re showing multiple users (maybe on a team) and only want individuals to delete their own todos.
      So yep! You’re spot on’

    • @HiImKyle
      @HiImKyle 2 месяца назад

      @@joshcirre oh well yeah, that makes more sense. good to know i thunked it out right tho. Awesome stuff, thanks

    • @joshcirre
      @joshcirre  2 месяца назад

      @@HiImKyle You're on it. Thanks for watching. :)

  • @sylvain351
    @sylvain351 6 месяцев назад

    hi, can you publish the code on repo git ?

    • @joshcirre
      @joshcirre  6 месяцев назад

      Sure thing! I’ll add it to the description and let you know about it in a few hours. 👋

    • @joshcirre
      @joshcirre  6 месяцев назад

      Here you go! :)
      github.com/joshcirre/laravel-speedrun

  • @DanteMishima
    @DanteMishima 6 месяцев назад

    My poor poor eyes

    • @joshcirre
      @joshcirre  6 месяцев назад

      I’m sorry. I’ve changed it back in future videos. 😓

  • @prshendra
    @prshendra 6 месяцев назад

    Hi, may I know what you used for formatting blade?

    • @joshcirre
      @joshcirre  6 месяцев назад

      In VS Code, I have the TALL Stack extension bundle and Intelephense.
      I believe the formatting is done with the Laravel Blade Formatter in the TALL Stack bundle.

  • @cmdaltctr
    @cmdaltctr 6 месяцев назад +1

    Thank you for the video! My eyes when the whole screen is white (not dark mode) -> 👁👁 :D

    • @joshcirre
      @joshcirre  6 месяцев назад

      Sorry for the white screen. 😅 I switch back and forth from light to dark mode.