Skip to content

Diksha-Rathi/find-my-place

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

find-my-place

Find the perfect place near you.

The user enters the district or city name. A search provides the top 20 results in any of the following categories.

  • Fire Station
  • Hospital
  • Hotel
  • Metro Station
  • Park
  • Police Station
  • Restaurant
  • Shopping Mall

The following details are presented for all the listed places matching the query:

  • Address
  • Local Phone Number
  • International Phone Number

The search results include places within a radius of 10 kilometers sorted in the order of their importance. Ranking will favor prominent places within the specified area. Prominence can be affected by a place's ranking in Google's index, global popularity, and other factors.

The web application is currently live on heroku. Click here.

Setup Instructions

  • Clone the source.
$ git clone [email protected]:diksha-rathi/find-my-place.git
  • Install the requirements
$ pip install -r /path/to/requirements.txt
  • Generate Google API key.

    1. Visit https://developers.google.com/console and log in with a Google Account.

    2. A new project with the name API Project is created for you. Use it or create a new project.

    3. Click Enable Google APIs for use in your apps.

    4. Browse for the following APIs under Google Maps APIs section, and set its status to "On".

    • Google Places API Web Service
    • Google Maps Geolocation API
    1. Once you've enabled the APIs, click Credentials from the left navigation of the Developer Console.

    2. In the "Public API access", click Create new Key.

    3. Choose Server Key.

    4. If you'd like to restrict requests to a specific IP address, do so now.

    5. Click Create.

    Keep your key secret.

Run the project

$ cd find-my-place/find-my-place
$ python manage.py runserver

Todo's

  • Login system to allow users to save search results.

Wish to contribute?

  • Send patches for above mentioned todo.
  • Suggest new features.
  • Fix bugs.

License

The MIT License (MIT)

Thanks for creating the following:

  • Django
  • Bootstrap
  • Google Places API
  • Python Google Places
  • Help-the-needy

I started this project during my 6- weeks training with HCL Infotect Ltd, Noida between June- July 2015.

Releases

No releases published

Packages

No packages published