/move_time

A simple Rails app for gathering information about prospective cities to help users decide if moving to that city would be a good fit for them.

Primary LanguageRuby

ruby rails codecov Build Status Maintainability Waffle.io - Columns and their card count

Move Time

Live Link

Table of Contents

Description/Purpose

This application is designed to help users find out which cities they may want to move to. A user can register an account to save cities they want to come back to later. For now, this application features just basic data on cities, such as median home prices and ethnicity breakdowns (and more).

System Requirements

To run this application, the following items must be installed and configured:

Application Requirements

This application requires an API key from Google. The API key must be set in the application's environment variables under the key name GOOGLE_MAPS_KEY.

You can get your own Google API key here.

More information about where to set this key is located below.

Installation

  1. Clone this repository git clone git@github.com:mikecm1141/move_time.git
  2. Navigate to project directory cd move_time
  3. Run bundle install to install dependencies
  4. Run figaro install to generate the application.yml file - this is where your GOOGLE_MAPS_KEY should go
  5. Run rails db:{create,migrate} to create the database and run the database migrations
  6. Run rails server to start up the server
  7. Application now available at http://localhost:3000

Configuration

This application uses a Redis installation to cache the HTTP requests sent to the Data USA service. For development environments, the application is set to use a Redis server at redis://localhost:6379. For production environments, the application is set to use a Redis server at ENV['REDIS_URL'] which should be changed to reflect your production environment.

Testing Suite

This project is tested using RSpec and aims to hit 100% test coverage at all times.

Running the Test Suite

  1. Navigate to installed project directory move_time
  2. Run rspec to run the full test suite

Screenshots

Home Page

City View Page

City Search Page

Contributors/Developers

Mike McKee

Special Thanks

Special thank you to the Data USA API for helping out with U.S. Census data endpoints.