项目作者: KKOA

项目描述 :
My take on property search webpage using Homeflow api.
高级语言: HTML
项目地址: git://github.com/KKOA/sonar-rails.git
创建时间: 2018-01-31T12:06:12Z
项目社区:https://github.com/KKOA/sonar-rails

开源协议:

下载


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
  1. git clone https://github.com/KKOA/sonar-rails
  2. 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

  1. bundle install
  2. touch .env

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

  1. HOMEFLOW_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  2. GOOGLE_MAP_API=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Run Application

  1. cd sonar-rails
  2. rails s

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