Authentication Lab
Objective: Continue implementing your simple login app from this morning's module.
Workflow & Submission
- Create a new GitHub repo for your simple login app.
- Work through the challenges from the morning module to implement your simple login app.
- Submit the link to your GitHub repo in the homework submission form.
Stretch Challenges / Bonus
- If you finish all the challenges and stretch challenges for the simple login app, work on implementing authentication in your Project 0 Microblog app.
- Instead of making a user profile page in your Microblog app, redirect users to the root route (
/
) after they log in. - Super Bonus: When a new user signs up, it would be nice if they didn't have to immediately log in. How could you solve this? Hint: You defined the
req.login
middleware which is available to use in any server request.