Getting Started
Essentials

Customer web components

App

  • Location: The UI can be found under src/App.js
  • Working: Configures Native base, Fonts, Push Notification, Apollo, Authentication, and Navigation.
  • Results: Everything is set up so that, depending on whether the user is authorized or not, the next view will load. If the user has not authenticated, a tutorial screen will be displayed before a menu screen.

Login

  • Location: The UI can be found under src/screens/Login/Login.js Its mutation can be found under src/apollo/server.js with constant login
  • Working: Logins User using Google, Facebook or Manual Registration. A separate component for ForgotPassword is also present its component can be found src/components/ForgotPassword Its mutation can be found under src/apollo/server.js with constant forgotPassword
  • Result: 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.js It has Apollo constants of orderItem its of type fragment located in src/apollo/client.js
  • Working: It shows OrderDetail to the rider where the status of the order can be changed by the rider.
On this page