- Make sure you have Ruby (~2.2.1) on your machine
$ ruby -v
- Install Rails on your machine, should be ~= 4.2.2
$ gem install rails
$ rails -v
- Clone repository into workspace directory
$ cd path/to/dir
$ git clone https://github.com/kunokdev/flightmap
- Install dependencies, migrate database and seed it with data
$ npm install -g bower
$ bundle install
$ rake -T bower
$ rake bower:install
$ rake db:migrate
$ rake db:seed
- Run local server and go to
localhost:3000
in your browser
$ rails s
Production preveiw on heroku - https://flightmap.herokuapp.com/
Note:: This preview might not always work properly due to heroku account service limitations.
- Airport model (app/models/airport.rb)
- Airport csv reader (db/seeds/airports.rb)
- user provided headers
- "tt" separation REGEX
- Airport database migration (db/migrate/~)
- Airport database seed
- Tickets model (app/models/ticket.rb)
- Tickets csv reader (db/seeds/tickets.rb)
- Tickets database migration (db/migrate/~)
- Tickets database seed
- Replace
0
s withnull
for airport coordinates - Replace
1970-01-01
withnull
for ticket return dates - Replace
\N
withnull
for airport cities - Create UI for options
- Departure location input linked to API from Rails
- Departure location input suggests 20 items upon change
- Favicon
- Heroku production setup
- Ticket data API
- Currencies API and dropdown
- Force limit for person count (1-100)
- Dates API and dropdown
- Range sliders connected with Angular
- Display parameter data
- Style new sliders
- Display range slider params
- Calculate params
- Display matching data
- Data per request rather than loading whole API all at once
- Map colors
- Interactive SVG Map to display data
- Responsive versions
- Range slider values layout
- Default value for all inputs
- Null value
- Current location detector
- Currency exchange rate API
- It would be good to separate data into multiple tables for better performance (e.g. table for each departure location)
- Chrome departure location not working properly