You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
網站登入方式新增了Oauth google 2.0的方式 提高使用者註冊機率 (Oauth技術流程如下圖所示)
對使用者註冊的密碼採用bcrypt技術加鹽
使flash method提升跟使用者的立即互動
Engilish Version
Website Functionality:
Create a login website where users can register accounts locally and log in. They can also log in via Google OAuth to access the site using their Google accounts. Once logged in, users can add their posts on the current page.
Website Layout:
Homepage:
Login Page:
Users can choose between local login or third-party Google login.
Google OAuth Login Page:
Users can select their Google account. Passport, a middleware for authentication, is used here.
After successful login, Personal Profile:
Users can add posts or log out from this page.
Add Post Page:
Local Registration Page:
Users need to enter a name of at least 3 characters, a valid email format, and a password of at least 8 characters. If any of these criteria are not met, an error message will be displayed.
Registration Criteria Not Met Page:
Successful Registration Page:
Technical Details:
MVC architecture used to build the entire server system.