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

Поделиться
HTML-код
  • Опубликовано: 28 сен 2024
  • Code with me as I build an authenticated todo list application in Laravel, Livewire, Laravel Volt, and some Tailwind. Sometimes, the best way to learn something is to build an app that you've built a hundred times.
    Here's the repo of the finished project:
    github.com/jos...
    Keep creating.
    ---
    📹 *Watch My VSCode Setup Video:* • My Minimal and Beautif...
    🎓 *Make VSCode Awesome - Caleb Porzio's Course (support me with this link):* gumroad.com/a/...

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

  • @vcodev108
    @vcodev108 4 месяца назад +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  4 месяца назад

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

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

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

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

      Thank you so much. That means a lot!

  • @69k_gold
    @69k_gold 4 месяца назад +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  4 месяца назад +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. 😁

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

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

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

      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. 😅

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

    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  4 месяца назад

      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. :)

  • @anggitariutomo1771
    @anggitariutomo1771 4 месяца назад +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  4 месяца назад +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 4 месяца назад

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

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

    Great video! Well done 👏

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

    Awesome content! keep it comming!

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

      Thank you. ☺️

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

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

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

      This is the "Dank Mono" font. :)

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

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

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

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

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

    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  2 месяца назад

      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. :)

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

    Very good!

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

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

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

      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 4 месяца назад +1

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

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

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

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

    My poor poor eyes

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

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

  • @chrisumeran
    @chrisumeran 4 месяца назад +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  4 месяца назад +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 4 месяца назад

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

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

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

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

      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 12 дней назад

    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  12 дней назад

      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 12 дней назад

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

    • @joshcirre
      @joshcirre  12 дней назад

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

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

    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  4 месяца назад

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

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

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

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

      Hmm. So like a Laravel and NextJS tutorial?

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

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

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

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

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

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

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

    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  4 месяца назад +1

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

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

    Great video. Thanks!

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

      Thanks so much for watching. :)

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

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

    • @joshcirre
      @joshcirre  4 месяца назад +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 4 месяца назад

      @@joshcirre thank you

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

    hi, can you publish the code on repo git ?

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

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

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

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