You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.
As of now in Freshbey one can order items using COD and UPI. In both methods, the manual intervention is needed to update the status. In delivery status, there is only one of the two messages "Delivered" or "Not delivered" which are shown to the user.
Here's the order page.
The plan is to give more context about the delivery like where the product is right now when it will get to reach the customer something like that.
Imagine Freshbey has one or more stores in every city. It need not be a store. It can also be a warehouse. So once we get the location from the user, we'll map the nearest store or warehouse to deliver the products to the customer. Accordingly, the details will be shown to the customer as I stated above.
Come up with a solution to address this problem.
The text was updated successfully, but these errors were encountered:
One approach i can think of is to use socket-IO to update order notifications pushing them from server to the client as sockets allow bidirectional communication. we can also use geolocation API in JavaScript to get the current location of the customer as latitude and longitude and use any geocoding service to get the client address. To implement nearest distance search we need to save the coordinates of the warehouses or stores in the database. I am willing to contribute on this or any other idea.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
As of now in Freshbey one can order items using COD and UPI. In both methods, the manual intervention is needed to update the status. In delivery status, there is only one of the two messages "Delivered" or "Not delivered" which are shown to the user.
Here's the order page.
The plan is to give more context about the delivery like where the product is right now when it will get to reach the customer something like that.
Imagine Freshbey has one or more stores in every city. It need not be a store. It can also be a warehouse. So once we get the location from the user, we'll map the nearest store or warehouse to deliver the products to the customer. Accordingly, the details will be shown to the customer as I stated above.
Come up with a solution to address this problem.
The text was updated successfully, but these errors were encountered: