GitHub Repo: https://github.com/HRSArgyropoulos/FlaskAssignment
Application on my domain: https://hrsargyropoulos.com/login-system-flask/
- All templates are custom and have been created from scratch with HTML and CSS.
- When you successfully sign in you will be redirected to the homepage, unless you had previously visited the profile view with your username, thus you will be redirected there.
- The flaskenv and DB for the purpose of this assignment is also provided.
- There are 2 base templates. One main for the login, home and profile templates (_layout.html) and one for the error pages (_error_layout.html).
- Cookies and Session have been set to be permanent (even if you close the browser) and the expiry date is set to 10 minutes.
Username | Password |
---|---|
noah_tremblay01 | noah123 |
hrsargyropoulos | haris |
- Clone this repo
- Run
python -m venv .venv
to create .venv folder - Run
.\.venv\Scripts\activate
to activate venv environment - Run
pip install -r .\requirements.txt
to install all project requirements - Run
flask run
- Open http://localhost:5000/ in the browser
All rights reserved except for images, graphics, icons, svgs.