Giter Site home page Giter Site logo

uforegon's Introduction

UFOregon

This application uses data from the National UFO Reporting Center (NUFORC) database @ http://www.nuforc.org to show on a Google Map all of the locations where a UFO sighting has been reported in the state of Oregon. Upon clicking the marker information about the different sightings will be available.

Screenshot

screenshot

Built With

  • ActiveRecord
  • Bootstrap
  • CSS
  • HTML
  • Postgres
  • Rake
  • Ruby
  • Sinatra
  • Javascript
  • JSON
  • Google Maps API
  • Heroku

User Stories

As a user, I want to see a map of Oregon. As a user, I want to search for a city in Oregon to see its reported UFO sightings. As a user, I want to see more information about the sightings that have been reported there. As a user, I want to see an indicator that shows which city's sighting information I am currently viewing with a marker on the map.

Specifications

Behavior Input Output
view map of Oregon user navigates to home page map of Oregon loads with a marker indicating the center of the map
enter a city name to see a marker for that city "Portland" marker drops on Portland
click UFO marker for a city to see more details click UFO on Portland A list of all of the descriptions of each unique sighting in that city shows below the map, and a display window on the marker shoes the city name, coordinates, and number of sightings

Setup/Installation Requirements

  1. ⌘Command T to open a new tab in the terminal and start postgres (leave it running in the background)
$ postgres
  1. Clone this repository in the terminal
$ git clone https://github.com/saschultz/UFOregon.git
  1. Make sure you have rake installed
$ gem install rake
  1. Navigate to the project directory
$ cd Desktop/UFOregon
  1. In the terminal
$ rake db:schema:load
  1. Open the project in a text editor of your choice
$ atom .
  1. Prepare the database
$ rake db:create
$ rake db:migrate
$ rake db:test:prepare
  1. In psql navigate to the oregon_sightings_development database and copy in the database file
$ psql

\c oregon_sightings_development

COPY ufos(sight_date, city, state, shape, duration, summary, latitude, longitude) FROM '/Users/Guest/desktop/UFOregon/raw_data/oregon_sightings_latlong.csv' DELIMITER ',' CSV;
  1. ⌘Command T to open another new tab in the terminal and start sinatra (leave it running in background)
$ ruby app.rb
  1. Navigate to localhost:4567 in a web browser of your choice

Known Bugs

Authors

Jin Camou, Dominic Brown, Sara Schultz, Dana Weiss

License

open source GPL & MIT

Copyright (c) 2017 **Jin Camou, Dominic Brown, Sara Schultz, Dana Weiss**

uforegon's People

Contributors

saschultz avatar umitosan avatar callmedw avatar

Stargazers

Bevin Duncan avatar satoru02 avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

umitosan callmedw

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.