In this section, we are going to understand how the application works.
How does the Store Owner register?
There are two ways a Store Owner registers on the platform.
- Self-Registration through the Sign-Up page.
- Admin registers the Store Owner.
Self Registration
In this process, any user can register for the role of Store Owner.
The registration page is https://yourwebsite.com/auth/login
After the registration, they will be able to log in with the same URL as Admin Login.
The Store Application URL is: https://yourwebsite.com/store-app
Admin Registers the Store Owner
Admin can add Store Owner from the Admin Dashboard.
Admin > Users > All Users > Add New User and create a user with the role "Store Owner"
How are Stores/Restaurants created and linked?
Store owner creates their own stores
The store owner can link their store through the Store Dashboard.
Login URL:
https://yourwebsite.com/auth/login
Dashboard > Stores > Add New Store
The created store will be automatically linked to the Store Owner.
Every new store added by the Store owner needs to be approved by the Admin before it is visible to the customers in the customer's application.
Admin can view all the pending approval stores in Admin > Stores > Pending Approval Stores
Admin creates stores and links them to the Store Owner
Admin can create Stores from Admin > Stores > Add New Store
Admin can link the newly created store to the Store Owner from Admin > Users > Store Owners > Manage Owner's Stores and assign stores/restaurants.
The Stores/Restaurants created by Admin are auto-approved.
How does a Delivery Guy register?
There are two ways a Delivery Guy registers to the platform.
- Self-Registration through the Sign-Up page.
- Admin registers the Delivery Guy.
Self Registration
In this process, any user can register for the role of Delivery Guy The registration page is https://yourwebsite.com/auth/login
After the registration, they will be able to log in to the Delivery Application.
The Delivery Application URL is: https://yourwebsite.com/delivery
IMPORTANT
- The delivery application cannot be accessed through a desktop/laptop. It can only be accessed from a mobile device.
- The newly created Delivery Guys will not be shown any orders unless they are assigned to stores by the Admin.
Admin Registers the Delivery Guy
Admin can add Delivery Guy from the Admin Dashboard.
Admin > Users > All Users > Add New User and create a user with the role "Delivery Guy"
While creating a user with the role of Delivery Guy there are some extra fields that are needed to be set like, the Delivery Guy Name, Age, Description, Photo, Vehicle Number, etc. These extra details of the delivery guy are visible to the customer when their order is being processed.
How are the Delivery Guys assigned/linked to the Stores?
Admin can link the Delivery Guys to a store/restaurant from Admin > Users > Delivery Guys > Manage Delivery Stores and assign stores/restaurants.
One Delivery Guy can be assigned to multiple of stores.
The Application Flow (Happy Path)
- The Customer Places an Order with a Store.
- The Store Owner gets the new order on their Dashboard and accepts it.
- The order is then visible to the preassigned Delivery Guy's Application.
- The Delivery Guy accepts the order, picks up the order, and delivers the order to the Customer.