Skip to content

My take on property search webpage using Homeflow api.

Notifications You must be signed in to change notification settings

KKOA/sonar-rails

Repository files navigation

Sonar-rails

This is a single page application called sonar that queries the Homeflow database and returns the properties that match your search criteria.

A user can click on a property from the search result, to get more information about the selected property.

This project was constructed using following technologies:

  • Rails 5
  • Bootstrap 3
  • JQuery
  • CSS3(SCSS)

Live version of project is available at
https://sonar-rails.herokuapp.com/

Screen Shot

Home screen Search Results view Individual Property description Individual Property map

Set Up Application

In order to run this application locally you will need the following:

  • an api-key from Homeflow
  • Google Map Embedded Api key
git clone https://github.com/KKOA/sonar-rails
cd sonar-rails

Open the Gemfile in the text editor of your choice.

Make sure your ruby version matches the one specified in 'Gemfile' otherwise program will not execute.

E.g.
~>2.4.0
Any version ruby between 2.4.0 & 2.5.0

bundle install
touch .env

Open up the file and assign the revelant api keys to the following

HOMEFLOW_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
GOOGLE_MAP_API=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Run Application

cd sonar-rails
rails s

Open browser and enter https://localhost:3000 and hit return.