1. Initialize an app. Connect the app with splash screen and icon. Configure app to use any one of the custom font globally.
2. Implement authentication screens(login, signup, forgot password, validate password reset confirmation code and reset password) and connect to the REST API. Domain for this is https://reacttask.mkdlabs.com
- Do not use any UI library. Do form state management without any library.
- Login screen takes email and password. Do all the basic validation on client side and display proper error message if theres error from the API. Display the error message either in toast, custom dialog or native alert. API endpoint is https://reacttask.mkdlabs.com/v2/api/lambda/login. Request body are email, password. Look at the request below.
- Register screen takes email, password, first_name, last_name(and code for this VOYD app). Validation similar to Login screen should be applied. API endpoint is https://reacttask.mkdlabs.com/lambda/api/register. Call register api first for email, role and password. Then call https://reacttask.mkdlabs.com/v2/api/lambda/profile to save first_name and last_name and code.
4. Implement the UI of dashboard and connect the drawer on the left side.
### FOR REACT NATIVE !!!
- use Expo
- Persist the token that we receive after successfully authenticating using AsyncStorage. You can persist other data using Redux or make custom useContext, useReducer and AsyncStorage mechanism.
- make an additional screen with QR code scanner - it should be able to scan a QR code and and redirect to the page.