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...
I've watched this video multiple times lol, finally got my chat app working with Pusher
OMG you're AMAZING BRO! Great tutorial!
Thanks for watching!
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:)
Thank you for the nice comments!
Thank you, Andre! This video is very useful for me and many other people!
Thanks for watching!
Really great video.
Clear all my doubts related to laravel pusher
Thanks. 😃
No problem! Thanks for watching.
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"
PLEASE ANY HELP WILL BE APRECIATE
auto solved xD
Hola! Como lo resolviste?
Would like to know about that. Do it more! Tutorial series will be boom.😀😀😀
Thanks for watching!
Thank you for creating this video!
Thanks for watching!
thank you, my progressbar doesn't change type nor gets animated.. any ideas?
Great tutorial!! Thanks
Thanks for watching!
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
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 ?
same project how I can implement in nodejs
Sir i had an error, it seems that Echo is not recognized. I installed everything. “Echo is not defined” in vue mount
Make sure you uncomment the Echo code in bootstrap.js
Are you part Filipino? I had a classmate in college whose last name was Madarang too. BTW great tutorial.
I'm full Filipino! It's a common last name in the Philippines. Thanks for watching!
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?
You need a geospatial data search.
Nice tutorial friend
Thanks for watching!
great. thumb up for the effort.
Thanks for watching!
awesomeeeeee!
oe un wn te robo el video manito :c gracias por enseñar
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
Would you make you a tutorial without pushar like socket.io with laravel and vue.
Parce muchas gracias.... esta genial la funcionalidad y ese GIF jajajaja
¡Gracias por ver!
I see " fired" on the screen but the even won't be fired in pusher ://
Currently Im having the same issue.
Did you solve the issue yet Atef?
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"
Why aren't you creating this blazing awesomely tutorials in 2021??? :(
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)
Not sure, sorry. I'd look into some ACL packages for Vue.
I want to learn laravel by you
Thanks, but is the previous lecture available ?
awesome ... thanks
hey how are you? do you have db?
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.
Hmm, the error message is pretty clear. Make sure you have a valid OrderProgress component. Check the GitHub repo for code.
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
need tutorial series :D
im getting "No application encryption key has been specified." when i try to run the app
Try php artisan key:generate. Full instructions on GitHub readme.
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!
So it works sometimes but not at other times? Are you getting any errors in the devtools console?
Seems like I occasionally need to restart npm run watch, I guess. Thanks for the video!
Glad you figured it out. Thanks for watching!
Thanks for the video, also can you make it with NodeJS ?
Thanks for watching! I'm not very familiar with Node, but may look into it in the near future.
can i edit without showing id in browser?
Maybe you can use a package like this to hash the id: github.com/jenssegers/optimus
Great video. Keep it up (y)
Thanks for watching!
Good video, but where I can find previous video 2:02?
There's no previous video, just the code available on GitHub.
@@drehimself make video series for this tutorial, please
Nice tutorial! How do you make your sublime editor look so nice? Do you have a tutorial for it maybe? :)
Check out material theme: github.com/equinusocio/material-theme
Andre Madarang Thank you! :)
im failing to migrate all tables...ive only migrated the users table
Not sure what to tell you. All the migrations are there.
find AppServiceProvider.php , in boot function write Schema::defaultStringLength(191);
Thank you for the video...Great!
Thanks for watching!
thanks andre, so helpful
Thanks for watching!
How to add User Roles to this beautiful project?
I like this package: github.com/spatie/laravel-permission
Thank you
Great video. Really enjoyed it.
Thanks for watching!
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.
I hope you were able to figure it out. Thanks for watching!
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
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']
);
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"
great tutorial (y) keep it up.
Thanks for watching!
wow ... Amazing
Thanks for watching!
really like to know more about this..
about?
About buiding this kind of system.."Realtime Pizza Order Tracker" .. its great.
Make video on Laravel Emoticon
I'm not sure what you mean
Use emoji on Comments with laravel
I want to say how use emojis in Laravel
github.com/unicodeveloper/laravel-emoji
Thanku
Thanks for watching!