- Searches Restaurants in notime
- Locate Nearby Restaurants
- Calculate the distance from your location to the desired location
Restaurants Finder helps you decide where to have eat food by picking a restaurant in your area. Open the website and desired location to get a random restaurant nearby. Press on the walking distance information at the bottom to open the location in Google Maps, or tap the refresh button at the top right to get another suggestion.
The web app is build with GeoDjango. Styles are written in plain CSS and Bootstrap.Restaurants searches are powered with infinte scroll and AJAX to make provide Good User Experience The site is hosted on AWS and deployed with Gunicorn and Ngnix.**
In order to get restaurant details Zomato and Google Maps APIs are used and to get the restraunts near a place Geospatial is used that gets stored in database in Background when user searches any city.The background task are accomplished by a Task Queue and Message Broker i.e CELERY and REDIS.
Use redis Redis Use postgresql postgresql. setup posis posis. Use the package manager PIP3.
install gdal-bin libgdal-dev
install python3-gdal
install binutils libproj-dev
To setup the project on your local machine:
- Click on
Fork
. - Go to your fork and
clone
the project to your local machine. git clone https://github.com/Gautamaggrawal/Restraunts-finder.git
- Install the requirements
pip install -r requirements.txt
- Finally, run the development server
python manage.py runserver
Create and activate the Google Maps JavaScript API, which generates a API key. Copy this key in settings.py
file in place of google-app-secret-key .
GOOGLE_MAP_API_KEY = "google-app-secret-key"
ZOMATO_API_KEY = "zomato-secret-key"
The project will be available at 127.0.0.1:8000.
To contribute to the project:
- Choose any open issue from here.
- Comment on the issue:
Can I work on this?
and get assigned. - Make changes to your fork and send a PR.
To create a PR:
Follow the given link to make a successful and valid PR: https://help.github.com/articles/creating-a-pull-request/
To send a PR, follow these rules carefully,otherwise your PR will be closed:
- Make PR title in this format:
Fixes #IssueNo : Name of Issue
For any doubts related to the issues, i.e., to understand the issue better etc, comment down your queries on the respective issue.
This project is licensed under the MIT License - see the LICENSE.md file for details