| Branch | Build | Coverage |
|---|---|---|
| Development | ||
| Master | ||
| Production |
- NodeJS (v4.4.3) (prefer using nodenv or nvm to switch node versions)
Make&GNU Base Utilitiesto run server, release and deploy scripts
- Frontend (serves the dashboard on github pages)
- Browserify + BabelJS - to compose app
- ReactJS - modularize app in components and act as bare-bones web framework
- Jest - testing framework for frontend
- Backend (serves the tooling for data transformation
./bin/transform)- NodeJS + CSVParser - parses csv to json for better bucketing
- Mocha - testing framework for backend
make shrinkwrap(for OSX) ormake npm(for Linux) to install project dependenciesmake testsRun combined tests (backend + frontend)- For frontend tests, run
npm run assets-tests - For backend tests, run
npm run tests
- For frontend tests, run
make coverageRun combined tests with coverage (backend + frontend)- For frontend tests, run
npm run assets-coverage - For backend tests, run
npm run coverage
- For frontend tests, run
make runto run project on default serverlocalhoston port4001link
make local-releaseto release locally & run it using./bin/servermake deployto do a production release directly on github-pages (make sure to run it fromproductionbranch)
- Fork and submit pull requests (standard GitHub OSS house rules)
- We follow Airbnb JavaScript Style Guide. Please run
make lintlocally before submitting a pull request and make sure that there are no warnings or errors. - Thats it. Happy Hacking!
PS: We always try hard to improve this documentation. If you have any suggestions or contributions, please let us know.