Homework #2
Reading → Coding → Deploy → Code-review
Introduction
In this home work, you will implement authentication feature for your web application with data stored in database
Instruction
Basic part: Implement authentication feature
- Listen on localhost:5000
- Render authentication form at http://localhost:5000/
- Redirect user to profile page if successfully authenticated
- Show profile page for authenticated user only at http://localhost:5000/profile
- User name and password are stored in Mongodb
Advanced part:
- Implement feature that allows users to create new account, profile will be shown with data respected to each account.
- Implement password hashing, logout and password change features
- Allow users to update profile picture (new user will have a default profile picture)
- Allow users to update profile information
Challenging part:
Implement notification. Active users will receive notification when a new account is created.
Deploy & Submission
- Upload the code to a separate GitHub repository (https://github.com/itmo-wad/username-hw2)
- Describe what you implemented in README.md
- Submit the link to your work to Google Classroom assignment
Code-review
- Communicate in Telegram chat
- Help others to complete the assignment by answering their questions