Components
Components
App
Location: The UI can be found under
src/App.jsWorking: Configures Native base, Fonts, Push Notification, Apollo, Authentication and Navigation.
Result: Everything is configured loads the next view depending on if the user is authenticated or not. If the user is not authenticated will show tutorial screen first else it will show Menu Screen.
Login
Location: The UI can be found under
src/screens/Login/Login.jsIts mutation can be found undersrc/apollo/server.jswith constantloginWorking: Logins User using Google, Facebook or Manual Registration. A separate component for ForgotPassword is also present its component can be found
src/components/ForgotPasswordIts mutation can be found undersrc/apollo/server.jswith constantforgotPasswordResult: Logins User with validation. If a user uses forgotPassword an email will be sent to him with reset link for changing his/her password.
OrderDetail
Location: The UI can be found under
src/screens/OrderDetail/OrderDetail.jsIt has Apollo constants oforderItemits of type fragment located insrc/apollo/client.jsWorking: It shows OrderDetail to the rider where the status of the order can be changed by the rider.
Last updated
Was this helpful?