Foot traffic reporting is a Rails application which is based on locations and visits to the location. The visits are recorded as start time, /end time and signal strenth. The application aims to represent visit data in a graphical reprsentation as Graphs.
It has a Daily view of number of visits plotted against time stamp for each day. And a histogram view of Number of vists against Signal strength.
-
Clone the repository and browse to the project folder
-
run bundle install
-
run rake db:migrate
-
run rake db:seed
This takes few minutes, as it populates the database with randomly generated data in visits table.
-
start the server
-
The application should be up and ready to view visits as graphs.
I have used AnjularJS as the front-end along with Chart.js framework for Graphs. tc-angular-chartjs is used for integration of Chart.js with Angular framework.
The application can be easily switched to any other charting library. Chartist will assist in replacing Chart.js for another charting framework