Description: Parse json file and populate html table with sort and filter facilities
Installation and running this solution:
This problem has been solved using Javascript and Ruby on Rails framework (Ruby 2.7.2 and Rails 6.0.3.4).
To run this project one should have Ruby on Rails setup in his/her machine. The file "rushing.json" is located in /public folder of the project. One can replace this json file. If the json file is replaced with different name, one should rename the json file mentioned in Line#3 of playersrushingdata.js file located in /app/javascript/packs
Use Git Bash or cmd to run this application:
- Go to project location using Git Bash or cmd
- Command "rails s" to run the server
- Visit "http://localhost:3000/" in your browser
- Use "search box" for filtering, respective "Up" or "Down" arrows for sorting, "Download as CSV" button for downloading data