anubhav06 / eatit

🍜 Online food ordering web application made using React+Django
https://eatin.vercel.app/
MIT License
3 stars 0 forks source link

[FEATURE REQUEST] Use the location api #20

Open KendallDoesCoding opened 2 years ago

KendallDoesCoding commented 2 years ago

Is your feature request related to a problem? Please describe. Right now, the restaurants it shows, are only in Delhi, India. I think there's a location api out there, which if there is would be great if you check it out and see if you can use it for the project.

Describe the solution you'd like Use the location api, to get the location of the user on the site (call a popup asking for permission for the site to access location)(the location shouldn't go back to you, maximum the country, eg: India or state can go back to you but preferably nothing goes back to you), with the state and area found, search for restaurants, via Google Maps, Google Business, etc.

Little confusing, I don't think I explained it well, but hope you understood :D

anubhav06 commented 2 years ago

Hey! Firstly, thanks for checking out this project. 🙌🏻

I totally understand what you are trying to convey: just like any standard food ordering web application, only the restaurants near to the client's location should be visible (rather than all the restaurants which are currently visible)

However, using the location API with Google Maps will require OAuth and thus I am currently trying to learn about using OAuth with React + Django. So, this has been on my lists as a future feature for this web app.

Thanks for exploring and suggesting this feature. Now, if anyone has been looking for new issues and wants to work on this issue, they can ! 😄

KendallDoesCoding commented 2 years ago

Hi Anubhav,

Thanks a lot! I found this repo from Eddie's livestream.

That's great to hear. I haven't really gotten into React, Django (even though I want to) coz my computer has issues with both the languages.

Thanks for reviewing the issue :)