TheIndieDevs / Blog

Version 2 of Blog
MIT License
0 stars 0 forks source link

Create Authorization JWT #3

Open Chuan-Chen opened 7 months ago

Chuan-Chen commented 7 months ago

Using JWT to create auth for server and client.

shino022 commented 7 months ago

signup and login apis are implemented but the password still needs to be hashed, when the password is saved and validated we also need to implement a middleware, when the user access to the private route, it needs to authenticate the jwt from the user

I added a diagram to see the backend file structuer https://github.com/TheIndieDevs/Blog/tree/create-jwt/server#readme