Realtime Pizza Order Tracker - Laravel, Vue & Pusher

Поделиться
HTML-код
  • Опубликовано: 28 сен 2024
  • A look at how to build a realtime application using Laravel, VueJS and Pusher. We re-create the functionality of the Domino's Pizza order status tracker. We make use of Laravel Echo, which makes the communication between Pusher and our front end very easy.
    GitHub repo (Upgraded to Laravel 5.8): github.com/dre...
    LINKS
    My courses: codewithdre.com
    Sign up for my newsletter: andremadarang.c...
    My website: andremadarang.com
    Twitter: / drehimself
    GitHub: github.com/dreh...
    CodePen: codepen.io/dreh...

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

  • @omarmaya1263
    @omarmaya1263 4 года назад +1

    I've watched this video multiple times lol, finally got my chat app working with Pusher

  • @RakhaViantoniPrastya
    @RakhaViantoniPrastya 6 лет назад +7

    OMG you're AMAZING BRO! Great tutorial!

  • @guillermocelestino1131
    @guillermocelestino1131 7 лет назад

    Wow i just break through from beginner to intermediate in laravel haha, thanks a lot bro. I learn so much on your videos and its been added to my arsenal:)

    • @drehimself
      @drehimself  7 лет назад

      Thank you for the nice comments!

  • @brunoluan2149
    @brunoluan2149 6 лет назад

    Thank you, Andre! This video is very useful for me and many other people!

  • @codewithsub5083
    @codewithsub5083 6 лет назад

    Really great video.
    Clear all my doubts related to laravel pusher
    Thanks. 😃

    • @drehimself
      @drehimself  6 лет назад

      No problem! Thanks for watching.

  • @camilogonzalez9137
    @camilogonzalez9137 4 года назад +1

    Thank you but i am stuck getting this error when i try to browse laravel-realtime-example.dev/fire
    "Too few arguments to function App\Events\OrderStatusChanged::__construct(), 0 passed in C:\laragon\www\app
    outes\web.php on line 10 and exactly 1 expected"

  • @heyyy4987
    @heyyy4987 7 лет назад +5

    Would like to know about that. Do it more! Tutorial series will be boom.😀😀😀

  • @electrodecathode
    @electrodecathode 7 лет назад

    Thank you for creating this video!

  • @ayahayder677
    @ayahayder677 5 лет назад

    thank you, my progressbar doesn't change type nor gets animated.. any ideas?

  • @tommybaloukas5131
    @tommybaloukas5131 6 лет назад +1

    Great tutorial!! Thanks

  • @andrewhansenn8100
    @andrewhansenn8100 4 года назад

    Hi mr andre are you still active i need your help regarding to the orderprogress when i tried to console log the order and fired up it doesnt show up in the client side i wonder whats wrong but when i firedup the object in app.js it will show realtime

  • @luiseperez2751
    @luiseperez2751 6 лет назад +1

    Migration table created successfully.
    [Illuminate\Database\QueryException]
    SQLSTATE[HY000]: General error: 1215 Cannot add foreign key constraint (SQL: alter table `orders` add constraint `o
    rders_status_id_foreign` foreign key (`status_id`) references `statuses` (`id`) on delete cascade)
    [PDOException]
    SQLSTATE[HY000]: General error: 1215 Cannot add foreign key constraint ?

  • @adiyadav7501
    @adiyadav7501 4 года назад

    same project how I can implement in nodejs

  • @arjaykurtdelarosa6286
    @arjaykurtdelarosa6286 6 лет назад

    Sir i had an error, it seems that Echo is not recognized. I installed everything. “Echo is not defined” in vue mount

    • @drehimself
      @drehimself  6 лет назад

      Make sure you uncomment the Echo code in bootstrap.js

  • @alexyap4686
    @alexyap4686 6 лет назад

    Are you part Filipino? I had a classmate in college whose last name was Madarang too. BTW great tutorial.

    • @drehimself
      @drehimself  6 лет назад

      I'm full Filipino! It's a common last name in the Philippines. Thanks for watching!

  • @saurabhjain2161
    @saurabhjain2161 4 года назад

    One question, I want to search all people around me using my app, like Uber or any dating app does, how it is possible without Laravel?

    • @r3n736
      @r3n736 4 года назад

      You need a geospatial data search.

  • @kleidjjf954
    @kleidjjf954 6 лет назад

    Nice tutorial friend

  • @Rs3Audi
    @Rs3Audi 5 лет назад

    great. thumb up for the effort.

  • @j4878
    @j4878 4 года назад

    awesomeeeeee!

  • @choroguarda
    @choroguarda 3 года назад

    oe un wn te robo el video manito :c gracias por enseñar

  • @unknownthree7178
    @unknownthree7178 5 лет назад +1

    sir why it can't listen please help particular to this line "Echo.channel('notify-tracker.' + this. id)". I doubt "this.id" is undefined please help

  • @asifanamkhan2463
    @asifanamkhan2463 3 года назад

    Would you make you a tutorial without pushar like socket.io with laravel and vue.

  • @julianmunoz2722
    @julianmunoz2722 6 лет назад +2

    Parce muchas gracias.... esta genial la funcionalidad y ese GIF jajajaja

  • @atefrihane
    @atefrihane 6 лет назад +1

    I see " fired" on the screen but the even won't be fired in pusher ://

    • @yazeedalsultan8859
      @yazeedalsultan8859 5 лет назад

      Currently Im having the same issue.
      Did you solve the issue yet Atef?

  • @xunit00
    @xunit00 5 лет назад

    sup mate, i have a problem, the progress bar didnt change on realtime, but i get notifications, u know how to solve that (sry for the bad english) and the "timeago" didnt show, just "NaN years ago"

  • @josuebarros-desenvolvedorw2490
    @josuebarros-desenvolvedorw2490 3 года назад

    Why aren't you creating this blazing awesomely tutorials in 2021??? :(

  • @elinardosilva3812
    @elinardosilva3812 6 лет назад

    Thanks André for your vídeo. Your channel is favorite for me. But if i'd like to implant ACL with @can in templete of vue for hidden a botton for ex? How can do this please?( sorry for my english. I'm from brazil, but i love this channel)

    • @drehimself
      @drehimself  6 лет назад +1

      Not sure, sorry. I'd look into some ACL packages for Vue.

  • @mrlaughingvines1506
    @mrlaughingvines1506 4 года назад

    I want to learn laravel by you

  • @javidsalihe
    @javidsalihe 6 лет назад

    Thanks, but is the previous lecture available ?

  • @mlabdev
    @mlabdev 5 лет назад

    awesome ... thanks

  • @AIgencify
    @AIgencify 6 лет назад

    hey how are you? do you have db?

  • @FajarBekasiEdittingLineArt
    @FajarBekasiEdittingLineArt 6 лет назад

    hello
    can you help me
    i get the error
    Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

    • @drehimself
      @drehimself  6 лет назад

      Hmm, the error message is pretty clear. Make sure you have a valid OrderProgress component. Check the GitHub repo for code.

    • @FajarBekasiEdittingLineArt
      @FajarBekasiEdittingLineArt 6 лет назад

      what is the difference with your github repo
      I've seen in your repo and all the same as in the video then how do you explain the error I get after following your tutorial

  • @alanyukeroo
    @alanyukeroo 6 лет назад

    need tutorial series :D

  • @ricardochitagu6280
    @ricardochitagu6280 6 лет назад

    im getting "No application encryption key has been specified." when i try to run the app

    • @drehimself
      @drehimself  6 лет назад +1

      Try php artisan key:generate. Full instructions on GitHub readme.

  • @jakemontgomery9324
    @jakemontgomery9324 6 лет назад

    For some reason the Vue component keeps getting 'stuck', like it won't update on the page when I refresh after I a status. I've already tried clearing the cache and views from storage. I've also tried composer dump-autoload. Nothing works consistently. Help!

    • @drehimself
      @drehimself  6 лет назад

      So it works sometimes but not at other times? Are you getting any errors in the devtools console?

    • @jakemontgomery9324
      @jakemontgomery9324 6 лет назад

      Seems like I occasionally need to restart npm run watch, I guess. Thanks for the video!

    • @drehimself
      @drehimself  6 лет назад

      Glad you figured it out. Thanks for watching!

  • @hakangenc1
    @hakangenc1 6 лет назад

    Thanks for the video, also can you make it with NodeJS ?

    • @drehimself
      @drehimself  6 лет назад +1

      Thanks for watching! I'm not very familiar with Node, but may look into it in the near future.

  • @developersolution
    @developersolution 6 лет назад

    can i edit without showing id in browser?

    • @drehimself
      @drehimself  6 лет назад +1

      Maybe you can use a package like this to hash the id: github.com/jenssegers/optimus

  • @anonymousrulz
    @anonymousrulz 6 лет назад

    Great video. Keep it up (y)

  • @Abie169
    @Abie169 6 лет назад

    Good video, but where I can find previous video 2:02?

    • @drehimself
      @drehimself  6 лет назад

      There's no previous video, just the code available on GitHub.

    • @Abie169
      @Abie169 5 лет назад +1

      @@drehimself make video series for this tutorial, please

  • @XilumX1
    @XilumX1 6 лет назад

    Nice tutorial! How do you make your sublime editor look so nice? Do you have a tutorial for it maybe? :)

    • @drehimself
      @drehimself  6 лет назад +1

      Check out material theme: github.com/equinusocio/material-theme

    • @XilumX1
      @XilumX1 6 лет назад

      Andre Madarang Thank you! :)

  • @ricardochitagu6280
    @ricardochitagu6280 6 лет назад

    im failing to migrate all tables...ive only migrated the users table

    • @drehimself
      @drehimself  6 лет назад

      Not sure what to tell you. All the migrations are there.

    • @kaixie4597
      @kaixie4597 6 лет назад +1

      find AppServiceProvider.php , in boot function write Schema::defaultStringLength(191);

  • @mithicherbaro9394
    @mithicherbaro9394 7 лет назад

    Thank you for the video...Great!

  • @cevinways1434
    @cevinways1434 6 лет назад

    thanks andre, so helpful

  • @jebbush2964
    @jebbush2964 6 лет назад

    How to add User Roles to this beautiful project?

    • @drehimself
      @drehimself  6 лет назад +1

      I like this package: github.com/spatie/laravel-permission

    • @jebbush2964
      @jebbush2964 6 лет назад

      Thank you

  • @chrismellor7027
    @chrismellor7027 7 лет назад

    Great video. Really enjoyed it.

  • @Osteele
    @Osteele 6 лет назад

    For some reason I do not believe that my events are firing. I see no activity in the Pusher Debug console. Thank you for sharing your time and knowledge with us.

    • @drehimself
      @drehimself  6 лет назад

      I hope you were able to figure it out. Thanks for watching!

    • @Osteele
      @Osteele 6 лет назад

      Hello Andre. Thank you so much for the prompt reply. What I did was delete everything, re-clone the repo, and start from scratch. All seems fine at the moment. Have a great day / evening. Peter

    • @Osteele
      @Osteele 6 лет назад

      Actually, all seemed fine until I tried updating an order then this error appeared: Illuminate \ Broadcasting \ BroadcastException No message.
      Line 107 of PusherBroadcaster.php.
      throw new BroadcastException(
      is_bool($response) ? 'Failed to connect to Pusher.' : $response['body']
      );

    • @Osteele
      @Osteele 6 лет назад

      Here is another update for those that may be having the same issue. I am not sure which action fixed the problem but here is what I did. First, I went to my wamp php settings and selected my appropriate time zone. The other was to go into bootstrap.js and set encrypted to false. The other was to modify my php.ini. At line that reads: [curl]
      curl.cainfo = "F:\wamp3\bin\php\php5.6.15\extras\ssl\cacert.pem"

  • @lahirudilshan8830
    @lahirudilshan8830 6 лет назад

    great tutorial (y) keep it up.

  • @codeology1
    @codeology1 6 лет назад

    wow ... Amazing

  • @heyyy4987
    @heyyy4987 6 лет назад

    really like to know more about this..

    • @drehimself
      @drehimself  6 лет назад

      about?

    • @heyyy4987
      @heyyy4987 6 лет назад

      About buiding this kind of system.."Realtime Pizza Order Tracker" .. its great.

  • @nabeeltahir6013
    @nabeeltahir6013 6 лет назад

    Make video on Laravel Emoticon

    • @drehimself
      @drehimself  6 лет назад

      I'm not sure what you mean

    • @nabeeltahir6013
      @nabeeltahir6013 6 лет назад

      Use emoji on Comments with laravel

    • @nabeeltahir6013
      @nabeeltahir6013 6 лет назад

      I want to say how use emojis in Laravel

    • @OstapBrehin
      @OstapBrehin 6 лет назад

      github.com/unicodeveloper/laravel-emoji

  • @arsalanshaikh3763
    @arsalanshaikh3763 7 лет назад

    Thanku