Branch | Build | Coverage |
---|---|---|
Development | ||
Master | ||
Production |
- NodeJS (v4.4.3) (prefer using nodenv or nvm to switch node versions)
Make
&GNU Base Utilities
to 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 tests
Run combined tests (backend + frontend)- For frontend tests, run
npm run assets-tests
- For backend tests, run
npm run tests
- For frontend tests, run
make coverage
Run 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 run
to run project on default serverlocalhost
on port4001
link
make local-release
to release locally & run it using./bin/server
make deploy
to do a production release directly on github-pages (make sure to run it fromproduction
branch)
- Fork and submit pull requests (standard GitHub OSS house rules)
- We follow Airbnb JavaScript Style Guide. Please run
make lint
locally 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.