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

Поділитися
Вставка
  • Опубліковано 15 тра 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/joshcirre/laravel-...
  • Наука та технологія

КОМЕНТАРІ • 56

  • @vcodev108
    @vcodev108 2 місяці тому +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  2 місяці тому

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

  • @myam754
    @myam754 2 місяці тому +1

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

    • @joshcirre
      @joshcirre  2 місяці тому

      Thank you so much. That means a lot!

  • @bobbyiliev_
    @bobbyiliev_ Місяць тому

    Great video! Well done 👏

  • @matthewmiranda4227
    @matthewmiranda4227 2 місяці тому +1

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

    • @joshcirre
      @joshcirre  2 місяці тому

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

  • @edventuretech
    @edventuretech 2 місяці тому

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

  • @wagnerfernandes8780
    @wagnerfernandes8780 2 місяці тому

    Awesome content! keep it comming!

  • @omninspire
    @omninspire 2 місяці тому

    Great video. Thanks!

    • @joshcirre
      @joshcirre  2 місяці тому

      Thanks so much for watching. :)

  • @Z4KIUS
    @Z4KIUS 2 місяці тому

    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  2 місяці тому

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

  • @marcosaugustoschultzwutke6670
    @marcosaugustoschultzwutke6670 2 місяці тому

    Very good!

  • @69k_gold
    @69k_gold 2 місяці тому +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  2 місяці тому +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. 😁

  • @chrisumeran
    @chrisumeran 2 місяці тому +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  2 місяці тому +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 2 місяці тому

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

  • @anggitariutomo1771
    @anggitariutomo1771 2 місяці тому +1

    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  2 місяці тому +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. :)

  • @GizaRex
    @GizaRex 2 місяці тому

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

    • @joshcirre
      @joshcirre  2 місяці тому

      This is the "Dank Mono" font. :)

  • @JuriBinturong
    @JuriBinturong 2 місяці тому

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

    • @joshcirre
      @joshcirre  2 місяці тому

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

  • @xx__xx7199
    @xx__xx7199 2 місяці тому

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

    • @joshcirre
      @joshcirre  2 місяці тому +1

      Hmm. So like a Laravel and NextJS tutorial?

    • @xx__xx7199
      @xx__xx7199 Місяць тому

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

  • @a2zcourse
    @a2zcourse 2 місяці тому

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

    • @joshcirre
      @joshcirre  2 місяці тому +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 2 місяці тому

      @@joshcirre thank you

  • @kemal6039
    @kemal6039 2 місяці тому

    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  2 місяці тому +1

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

  • @anzalkuzhivelipady6554
    @anzalkuzhivelipady6554 2 місяці тому

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

    • @joshcirre
      @joshcirre  2 місяці тому

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

  • @sllkevin8885
    @sllkevin8885 2 місяці тому

    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  2 місяці тому

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

  • @sylvain351
    @sylvain351 2 місяці тому

    hi, can you publish the code on repo git ?

    • @joshcirre
      @joshcirre  2 місяці тому

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

    • @joshcirre
      @joshcirre  2 місяці тому

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

  • @avenirer
    @avenirer 24 дні тому

    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  24 дні тому

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

  • @millaz9125
    @millaz9125 Місяць тому

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

    • @joshcirre
      @joshcirre  Місяць тому

      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. ☺️

  • @DanteMishima
    @DanteMishima 2 місяці тому

    My poor poor eyes

    • @joshcirre
      @joshcirre  2 місяці тому

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

  • @prshendra
    @prshendra 2 місяці тому

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

    • @joshcirre
      @joshcirre  2 місяці тому

      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 2 місяці тому +1

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

    • @joshcirre
      @joshcirre  2 місяці тому

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