Coder Social home page Coder Social logo

bat's Introduction

CBGA - BAT (Budget Analysis Tool)

Branch Build Coverage
Development Build Status development Coverage Status
Master Build Status Coverage Status
Production Build Status Coverage Status

Getting Started

Prerequisites

  • NodeJS (v4.4.3) (prefer using nodenv or nvm to switch node versions)
  • Make & GNU Base Utilities to run server, release and deploy scripts

Tech Stack

  • 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

Development Setup:

  • make shrinkwrap (for OSX) or make npm (for Linux) to install project dependencies
  • make tests Run combined tests (backend + frontend)
    • For frontend tests, run npm run assets-tests
    • For backend tests, run npm run tests
  • make coverage Run combined tests with coverage (backend + frontend)
    • For frontend tests, run npm run assets-coverage
    • For backend tests, run npm run coverage
  • make run to run project on default server localhost on port 4001 link

Building

  • 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 from production branch)

Contributing

  • 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.
  • That it. Happy Hacking!

Contributors

PS: We always try hard to improve this documentation. If you have any suggestions or contributions, please let us know.

bat's People

Contributors

tejasrivastav avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.