-
Notifications
You must be signed in to change notification settings - Fork 11
User Interface
kimong1 edited this page Mar 19, 2020
·
58 revisions
- Sign Up Button
- Renders sign up page
- Login Button
- Renders login page
-
Has a Username Input and Password Input
-
Login 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
- Has a username input
- use lodash for timing to check username length requirements
- Has Password Input
- use lodash for timing to check password requirements
- Sign Up Button
- Takes UN and PW input
- Sends post request to db, checks if UN exists in db
- if UN exists, alert user to enter new UN
- if UN doesn't exist, post UN and pw in db, render Sign UP Confirmation page
- Button to resend email confirmation
- Confirm Email button
- Links to login page, sets confirmation to true to user login
-
displays databases created by user
-
input form to create database
-
Logout Button
- Changes status of user to logged out
- renders login page
- Create Button
- takes input
- POST request with input, to create new database
-
input password
-
Set Button
- Takes the password input
- Post request to database and sets the password