Enjoy

Upto

70%
Days
Hours
Mins
Sec
Getting Started
Essentials

Customer app modules

  • Location: The UI is located in the file src/App.js.
  • Working: Sets up the navigation system, fonts, push notifications, and native basis for Apollo.
  • Result: Everything is set up to load the subsequent view based on whether or not the user has authenticated. The tutorial screen will appear initially if the user has not authenticated; else, the menu screen will appear.
  • Location: The UI is located in the file src/screens/ItemDetail/ItemDetail.js. You can find its mutations and queries under the directory src/apollo/server.src/apollo/server.js with constants foodItems and getCartItems and like and js with constants
  • Working: FoodItems and getCartItems are constants that have been previously discussed. Like is a mutation that adds it to food using the food id parameter.
  • Location: The UI is located in the file src/screens/Cart/Cart.js. It contains the getCartItems and getProfile Apollo constants. location getProfile at src/apollo/client.js
  • Working: A query called constant getProfile retrieves user information such name, email, phone, location, and image.
  • Result: The user delivery location is obtained using the getProfile command.
  • Location: The UI is located in the file src/screens/Payment/Payment.js. Apollo constants getCartItems and placeOrder are present. src/apollo/server.js is where you can find placeOrder. It is mutated.
  • Working: Constant placeOrder sends information, including the item delivery address, payment status, and user profile, to the server.
  • Result: The user can choose between using Stripe or Paypal to pay. If the Cash on Delivery option is chosen, no payment is made and the payment status is still pending. From the admin panel, its status can be modified. The user is also given access to the order details through email.
  • Location: The user interface is located in src/screens/MyOrders/MyOrders.js Its src/apollo/server location contains the myOrders Apollo constant.js It’s a question kind.
  • Result: With the option for the user to reorder, all of the user’s orders are queried.
  • Location: Under src/screens/Settings/Settings.js is where the UI may be found. It has the Apollo constants for getProfile, uploadPicture, profile, and updateUser. The src/apollo/server.js file contains the constants updateUser, uploadPicture, and profile. while the src/apollo/client.js file contains the constant getProfile.
  • Working: UpdateUser is a sort of mutation that modifies user data. The user’s profile picture is updated on the server when they utilize the uploadPicture mutation type. profile is a type of query that searches across user profiles.
  • Result: An image is uploaded to the user’s profile. To place an order, all of the configuration areas must be filled out.
  • Location: The UI is located in the file src/screens/Notifications/Notifications.js. It is situated in src/apollo/client.js and uses Apollo constants of the getNotifications and query types.
  • Results: getNotifications retrieves each notice the user has ever received when the order status is changed from the admin panel.
  • The UI is located in the file OrderDetail.js in the folder src/screens/OrderDetail/OrderDetail.js. It may be found in src/apollo/client.js and is a part of the Apollo constants of type orderItem.
  • Order: workingThe timeline is dynamically displayed based on the order’s state and includes all of the item’s data.
On this page

    Enjoy

    Upto

    70%
    Days
    Hours
    Mins
    Sec