-
Notifications
You must be signed in to change notification settings - Fork 11
User Interface
kimong1 edited this page Mar 19, 2020
·
58 revisions
- Login Button
- Renders login page
- Sign Up Button
- Renders sign up page
-
Username Input
-
Password Input
-
Submit Button
- Authentication and Authorization Middleware, take Username Input and Password Input, get the user and user access level from session, and check against the user and user access level from a database on the server
- Login endpoint. Use post request and pass in the data in the post form. Check the incoming user and password against the user and password stored in a database on there server
- Sign Up Button
- renders sign up page
-
E-mail input
-
Username input
- use lodash for timing to check username length requirements
- Password Input
- use lodash for timing to check password requirements
- Submit Button
- Takes Username and Password input
- Sends post request to db, checks if UN exists in db
- if Username exists, alert user to enter new Username
- if Username doesn't exist, post Username and Password in db, render E-mail Confirmation page
- Resend Button
- Resends email confirmation
- Confirm Email button
- Links to login page, sets confirmation to true to user login
- Displays list of databases
- Buttons to link to each databases
- Logout Button
- Changes status of user to logged out
- renders login page
-
input password
-
Set Button
- Takes the password input
- Post request to database and sets the password