Тёмный
No video :(

Laravel Vue SPA Issue Tracker part 25: Vue email verification 

Programming with Peter
Подписаться 1,6 тыс.
Просмотров 2,4 тыс.
50% 1

Today on our laravel vue SPA issue tracker we are going to finish email verification by overwriting the default email verification notification from laravel and changing the link to our vue front-end.
Laravel Vue SPA PLAYLIST: • Laravel Vue SPA Issue ...
Back-end repository: github.com/mp2...
Front-end repository: github.com/mp2...

Опубликовано:

 

21 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 38   
@charafe.k5706
@charafe.k5706 6 месяцев назад
love u bro , best explanation
@astalot7629
@astalot7629 5 месяцев назад
You're Welcome Bro
@kcseforecast7580
@kcseforecast7580 3 года назад
Thanks man. Very detailed explanation
@ProgrammingwithPeter
@ProgrammingwithPeter 3 года назад
Thanks
@tinesh9091
@tinesh9091 4 года назад
I followed all the videos untill this. Really thanks u for this tutorial. If can u make booking system it will be helpful
@ProgrammingwithPeter
@ProgrammingwithPeter 4 года назад
I plan first to finish all the basic stuff on an application before going to something more specific. Thanks for watching!
@heshamadel1843
@heshamadel1843 4 года назад
Thanks ❤❤
@ProgrammingwithPeter
@ProgrammingwithPeter 4 года назад
My pleasure!
@heshamadel1843
@heshamadel1843 4 года назад
What next episode, after this
@ProgrammingwithPeter
@ProgrammingwithPeter 4 года назад
Well, after the verification email which was a request, I planned to start the admin too, to make at least one example of a CRUD functionality.
@gradientO
@gradientO 4 года назад
A Deno tutorial?
@ProgrammingwithPeter
@ProgrammingwithPeter 4 года назад
I barely heard about it but as fas as I know, it's not production ready, but it is a pretty interesting project that should be followed
@AhmadHassan-ss5un
@AhmadHassan-ss5un 4 года назад
👍😁
@ProgrammingwithPeter
@ProgrammingwithPeter 4 года назад
Thanks for the support! Waiting for your requests, if you have!
@AhmadHassan-ss5un
@AhmadHassan-ss5un 4 года назад
@@ProgrammingwithPeter just a cart with vuex
@ProgrammingwithPeter
@ProgrammingwithPeter 4 года назад
obviously from the name of the project, we don't have any cart here, so it's going to be messy if we try to implement it, but can you elaborate more on what you need ? Maybe we can implement something really similar or create a separate video for this.
@AhmadHassan-ss5un
@AhmadHassan-ss5un 4 года назад
@@ProgrammingwithPeter obviously in separate video or git would do it
@faruksaldr7338
@faruksaldr7338 4 года назад
@@AhmadHassan-ss5un you can look at this /playlist?list=PL1TrjkMQ8UbVSDkDaLkjpeNGkblNU8rpW
@kmata53
@kmata53 4 года назад
Did Peter commit today's work? Yes.
@ProgrammingwithPeter
@ProgrammingwithPeter 4 года назад
You are back on track!
@faruksaldr7338
@faruksaldr7338 4 года назад
Hello Peter, You can push the login profile localstorage manual token. Can we make a middleware that checks this with the database ?
@faruksaldr7338
@faruksaldr7338 4 года назад
and token time control system with middleware
@ProgrammingwithPeter
@ProgrammingwithPeter 4 года назад
Hey man, I don't understand what you mean, so after the login to save something to localstorage and check in a middleware if we have it on database?
@faruksaldr7338
@faruksaldr7338 4 года назад
​@@ProgrammingwithPeter setLoggedInState () function does not checking localstorage token with database.
@ProgrammingwithPeter
@ProgrammingwithPeter 4 года назад
Oh, indeed, but that's because it has other purpose, setLoggedInState is just a front-end thing, we are going to make the auth more powerful soon, maybe on the next few episodes because we still don't logout when the token becomes invalid, as far as I remember! But we do save the token to localstorage and because after login we do /me, we can do the check there, if we can't get /me basically the token is not valid.
@NikolayKonshin
@NikolayKonshin 4 года назад
verification bug, if any error occurred when sending a message for verification, the user is still recorded in the database. In this case, they will not be able to register with this email, and they will not be able to verify it either, because the message was not sent
@ProgrammingwithPeter
@ProgrammingwithPeter 4 года назад
Yes, usually you need to implement db transactions, to rollback everything if something happens, on this case would be easy to do something like a try catch and delete the user or resend the email, but, on bigger features, db transactions is the way to do it. it also depends on your business logic ofc.
@NikolayKonshin
@NikolayKonshin 4 года назад
@@ProgrammingwithPeter I think it's easier not to write to the database if there was an error sending mail
@ProgrammingwithPeter
@ProgrammingwithPeter 4 года назад
on our simple case, yes.
@ProgrammingwithPeter
@ProgrammingwithPeter 4 года назад
wait, there is more to it, how you do that, because you still need to save the user and after that send the email, not reversed, so you need a way to not write to DB (all ways actually write something to the db, but it will delete it in case of error)
@NikolayKonshin
@NikolayKonshin 4 года назад
@@ProgrammingwithPeter Yes, I looked at how it is implemented in Laravel Auth - it is better to implement it somehow through resending
Далее
The Story of Next.js
12:13
Просмотров 565 тыс.
Ik Heb Aardbeien Gemaakt Van Kip🍓🐔😋
00:41
💀СЛОМАЛ Айфон за 5 СЕКУНД😱
00:26
When RESTful architecture isn't enough...
21:02
Просмотров 270 тыс.
Write Laravel, not PHP (feat. Aaron Francis) | 029
58:45
I've been using Redis wrong this whole time...
20:53
Просмотров 353 тыс.
Using docker in unusual ways
12:58
Просмотров 439 тыс.