Message from @JDB
Discord ID: 542645163231674378
That’s a great analogy
Clever
Good morning 😃
Hey man!
Drinking Pepsi cola from the 40s
Its so good
<:yay:523032349563158528>
Nice :)
Hey, is there also a torrent link for HHH's content?
@MoonCore why do you have all these old drinks lying around
I’m going to need to learn auth for node with mysql dB
Could you send me some links?
Yes. If you're talking about API authentication, you should make use of JSON webtokens
Yeah, there’s a library called jwt
But what about db auth?
I recommend that you use a framework like Express for your server. It handles things like authentication
Is that db auth?
No
How can I do db auth
Web token for protecting routes right?
What the auth for a database
jwt will generate a web token and then you parse that through to a middle wear that will assess it
You want your backend to directly connect to your DB. Not your clients.
A good way is to set your DB authentication data in environment variables and read those within your backend code
Could you send me a link - I don’t understand that
So there’ll be no need for DB auth if my web token work correctly ?
New drinks aint always good
Ehm..
Al of my knowledge is coming from a 20 min video I saw on the train this morning, so bare with me lol
I’ll be back In one pomodoro
@JDB There's two things.
Authentication for your Node backend
Authentication for your Database
I’m at work
Yeah - cool
So is node backend auth al about web tokens?
The connectiosn go like this: DB -> Backend -> Frontend
-> is an authentication step
Gotya