Angular Node MySQL Login System - Sign in (JWT, Bcryptjs)

preview_player
Показать описание
In this video we cover how to authenticate user credentials with JWT and Bcryptjs in our MVC node RESTful API and MySQL and how to connect to it with Angular.

--------------------------------------------------
Recommended Udemy courses
--------------------------------------------------

Рекомендации по теме
Комментарии
Автор

Damn, there's a straight up party going on in the background near the end lol. I actually really enjoy that about your videos. There's always birds chirping or something going on in the background, and it helps create an atmosphere that feels alive and welcoming. A nice break from many of these videos that tend to feel very clinical, where all noise has been stripped save for the voice of the narrator.

Just wanted to point this out as I've seen no one else mention it. Thanks for helping me learn Angular :)

pewdsdoesguitar
Автор

DAMN THAT WAS WHAT I LOOKING FOR GG!! ANGULAR+NODE+MYSQL... YOU ARE MY HERO!

alexzin
Автор

There is an error in auth service in first(); method i have checked with ur git project but not able to solve the error

_darshmodi
Автор

ts:54:9 - error TS2345: Argument of type 'OperatorFunction<Object, Object>' is not assignable to parameter of type 'OperatorFunction<Object, { token: string; userId: Pick<User, "id">; }>'.
The 'Object' type is assignable to
very few other types. Did you mean to use the 'any' type instead?
Type 'Object' is missing the following properties from type '{ token: string; userId: Pick<User, "id">; }': token, userId

54 first(),

geetanjalikarne
Автор

getting this error help me to solve this

Argument of type 'OperatorFunction<Object, Object>' is not assignable to parameter of type 'OperatorFunction<Object, { token: string; userId: Pick<User, "id">; }>'.
The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?
Type 'Object' is missing the following properties from type '{ token: string; userId: Pick<User, "id">; }': token, userId

AkshayPatil-inhw
Автор

Your videos are extremely helpful, can you please tell me how can I change this into a role based authentication?

wafalaabidi
Автор

How can I show at frontend if user/email already exists or password is wrong while login.
On Postman if password is wrong it shows error message correctly but in front end console log of error handler just shows 500 server error if password is wrong or email already exists.

surajkumarshukla
Автор

Hi, I have the problem, that the console tells me:
TypeError: db.execute is not a function

And I dont really understand why. I tried different methods and did a console.log for the database output and it goes to the function and finds the customer, but it does not return me the value. Does anyone have an idea?

NK-toek
Автор

i have a problem with bcryptjs, even if the password is correct it tells me that it is false and i could not solve it

sebastiannunez
Автор

Hi can you please teach us through mongodb

jackmanju
Автор

jon please reply to following error please

geetanjalikarne
Автор

getting this error even after importing first

geetanjalikarne