Tools:
- HTML
- CSS
- JavaScript
- PHP
Functionality:
- Add username, password, email and mobile into the table.
- Password should be of minimum length 6.
- Password will store in encrypted form into the database.
- OTP is sent to the registered email id.
- OTP verification is necessary to proceed onto next page.
Usage Instructions:
- Download the assignment from the given link.
- Import the database file to your phpMyAdmin.
- User must have an account registered into database to login, if not create it using registration form.
- Registered user can login using email address and password.
- After entering correct email address and password user will otp to their registered email.
- Verify the otp and redirect to message page.
Description:
In the project, SendGrid API is used to send otp to the registered email address. Username and email must be unique. In case, if username or email address contradict user will get a pop-up to either create a fresh account or can use registered email address and password to login.
After entering correct email address and password user will be redirected to otp page where user must enter the same otp received into the registered email which is of 6 digits. In case, if user enter wrong otp, he/she will remain on the same page.
After entering correct otp user will redirect to the message page where username and user email address will be displayed. User can also logout from the page.
Note:
We need to install the dependencies for using SendGrip API. So you can download it from readme file inside sendGrid folder or download the whole assignment.
Fig 1: Registration
Fig 2: Login form
Fig 3: OTP form
Fig 4: Messgae