A REST API For Har Data Analysis
The haralyzer API module provides a deployable REST API for storing raw HAR data and extracting performance data for the pages inside the HAR data.
This is currently SUPER beta, with limited features, and no guarantees as to appropriate functionality.
Start by forking the repository, and cloning down your fork. Make a fresh virtualenv, and then install the developer requirements.
pip install -r developer_requirements
python setup.py develop
Run the tests:
py.test tests/
IMPORTANT: This application REQUIRES Redis. I have been too lazy to use any kind of mocking or db fixtures, so you need to have Redis running locally for the tests to complete. SORRY!
The repo has Travis CI and Coveralls integration, so please do the needful with repo access on your account.
PLEASE write tests for your new code! Travis and Coveralls makes it easy to see if you are missing coverage on any of your new stuff.
When you are finished, just open a pull request!
This project uses flask-migrate to manage schema changes. Consult the docs if you have questions about how to use it.