0% found this document useful (0 votes)
34 views2 pages

Take Home Test - RN

The document provides requirements for a coding test to create a simple React Native app that allows users to login, register, and input an OTP. It specifies that the registration page should validate password requirements and redirect to an OTP page after submission. The OTP page should allow input of a 6-digit code and resending after 30 seconds, and redirect to the login page on correct submission. The login page should display a welcome message if credentials match those stored locally.

Uploaded by

Rulz Matrixs
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views2 pages

Take Home Test - RN

The document provides requirements for a coding test to create a simple React Native app that allows users to login, register, and input an OTP. It specifies that the registration page should validate password requirements and redirect to an OTP page after submission. The OTP page should allow input of a 6-digit code and resending after 30 seconds, and redirect to the login page on correct submission. The login page should display a welcome message if credentials match those stored locally.

Uploaded by

Rulz Matrixs
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Introduction

All the instructions of the test are on this document.


Our engineering team will review the candidate’s code quality, best practices, standards (e.g.
REST API, coding style, etc.)
We want to see your coding skill, so try not to use packages such as
react-native-otp-input.
Please complete this test within 2 days, if you need more time, do let us know.

Requirements
Create a simple app that allows users to login, register, and input OTP.
Using React Native, create a page for users to login/ register with the following details:

Registration
Where users input their username and password.
Should contain the following validations:
1. Password must contain at least 8 characters
2. Password must contain at least a lowercase letter
3. Password must contain at least an uppercase letter
4. Password must contain at least a symbol
5. Email validation

After the user submits the data, redirect the user to the OTP page.

OTP
Where users input a 6-digit OTP.
1. Can assume the correct OTP is 111111.
2. Countdown 30 seconds before they can click the “resend” button.
3. The resend button will refresh the timer.
4. The focus should automatically move to the right while the user inputs the number, and
moves to the left when the user uses backspace.
5. After a correct OTP is submitted, store the username/password locally, and redirect the
user to the login page.

Login
If a user successfully login with the registered username & password, it should go to a page that
says “Welcome”, and have a logout button.

Submit the public GitHub repository for your project here.

You might also like