Have you ever implement user auth login and registration in laravel?

|
rachidloukili 2021-03-08 15:44:55
alaa_dev 2021-03-07 17:55:07
https://threadreaderapp.com/thread/1356292193032368128.html

nice content i like it

Ogbidi_Ebose 2021-03-08 15:47:07
Billsamy 2021-03-08 15:29:22
User management is the added links….

Duplicate the logout link and see what happens

juvenilia_xs 2021-03-08 15:49:15
Prem Soni 2021-03-08 15:38:19
make user id forign key where

thanks bro ,
with this query :

ALTER TABLE table_name
ADD CONSTRAINT fk_foreign_key_name
FOREIGN KEY (foreign_key_name)
REFERENCES target_table(target_key_name);

i got error :

Cannot add or update a child row: a foreign key constraint fails

Billsamy 2021-03-08 15:50:53
Ogbidi_Ebose 2021-03-08 15:47:07
Duplicate the logout link and see what happens

No changes

Billsamy 2021-03-08 16:16:29
I discovered even the database does not catch the registered users….
Ogbidi_Ebose 2021-03-08 17:32:27
Billsamy 2021-03-08 15:50:53
No changes

Then the logout link has an error check

Ogbidi_Ebose 2021-03-08 17:32:40
Billsamy 2021-03-08 16:16:29
I discovered even the database does not catch the registered users….

Check the sql

juvenilia_xs 2021-03-08 17:49:59
Prem Soni 2021-03-08 15:38:19
make user id forign key where

i solved it with my own class to attach role.
thank you dear . 🌹

Prem Soni 2021-03-08 17:50:58
juvenilia_xs 2021-03-08 17:49:59
i solved it with my own class to attach role.
thank you dear . 🌹

welcome

natghi2010 2021-03-08 17:54:49
Does anybody know nodejs?
Prem Soni 2021-03-08 17:57:38
natghi2010 2021-03-08 17:54:49
Does anybody know nodejs?

tell your problem so if we know then we can solve

natghi2010 2021-03-08 17:58:26
Prem Soni 2021-03-08 17:57:38
tell your problem so if we know then we can solve

its not really a problem

natghi2010 2021-03-08 17:58:39
I just wanted to know what are the reasons people use node js?
natghi2010 2021-03-08 17:58:54
What are situations to jump from php to node
2021-03-08 17:59:00
😏i use
Prem Soni 2021-03-08 17:59:09
natghi2010 2021-03-08 17:58:54
What are situations to jump from php to node

ok

natghi2010 2021-03-08 17:59:27
I know one is web socket
Prem Soni 2021-03-08 18:00:18
Node. js is primarily used for non-blocking, event-driven servers, due to its single-threaded nature. It’s used for traditional web sites and back-end API services, but was designed with real-time, push-based architectures in mind
natghi2010 2021-03-08 18:02:59
Prem Soni 2021-03-08 18:00:18
Node. js is primarily used for non-blocking, event-driven servers, due to its single-threaded nature. It’s used for traditional web sites and back-end API services, but was designed with real-time, push-based architectures in mind

think of it like this,
lets say you have project and there are requirments

natghi2010 2021-03-08 18:03:30
what requirments make you say “this is a job for node js” or “this is a job for laravel”
Prem Soni 2021-03-08 18:05:18
natghi2010 2021-03-08 18:03:30
what requirments make you say “this is a job for node js” or “this is a job for laravel”

have you ever implement user auth login and registration in laravel?

natghi2010 2021-03-08 18:15:56
Prem Soni 2021-03-08 18:05:18
have you ever implement user auth login and registration in laravel?

yeah

Prem Soni 2021-03-08 18:16:59
natghi2010 2021-03-08 18:15:56
yeah

you know we need to wite npm install and npm run dev

natghi2010 2021-03-08 18:17:14
Prem Soni 2021-03-08 18:16:59
you know we need to wite npm install and npm run dev

yeah

Prem Soni 2021-03-08 18:17:44
so nodejs is used in laravel like this
natghi2010 2021-03-08 18:18:44
Prem Soni 2021-03-08 18:17:44
so nodejs is used in laravel like this

nodejs in this case is a compiler

natghi2010 2021-03-08 18:18:56
it doesnt actually have any runtime usage
natghi2010 2021-03-08 18:23:46
Idk, I just hear how people use node js and I dont see the appeal.
Prem Soni 2021-03-08 18:24:30
natghi2010 2021-03-08 18:23:46
Idk, I just hear how people use node js and I dont see the appeal.

sorry

hypernxf 2021-03-08 18:41:22
if you are building micro services
hypernxf 2021-03-08 18:41:33
nodejs is a good use case.
hypernxf 2021-03-08 18:42:12
But if you are building a full website, that consists of all the goodies, then Laravel is more superior
Billsamy 2021-03-08 19:07:53
Everything is fine but i wonder why on registering no information goes to database.

When am doing rollback and migrate it works successful but I don’t know why i can’t find the registered user on a user’s table

Billsamy 2021-03-08 19:08:24
Can anybody please help me on that
Ogbidi_Ebose 2021-03-08 19:09:14
I think the problem is coming from the sql
|