Login Authentication
- Home
- Login
Project information
- Category: Back End
- Client: 100Devs
- Project code URL: Login Auth Code Please take a look around at the code
- Goals: The main goal of this code component was to grab a user object from a database (uses local variable in example) and compare it to login credentials. To do this there needs to be a way to create a user which is the POST method. The user is then stored and can be called after. To protect the user's password we use a hash function provided by bcrypt library. The hash is created with a salt to make unique passwords for every user futher protcting them. Two methods were created to either identify a success or a fail.
- Technologies: JS, NodeJS, Express, bcrypt (hashing)