ironchestgames / stagecast-task-clean

Tech test for Stagecast

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fredrik Järnbröst's solution to Stagecast tech test

I've only touched src/price-calculator.js and spec/price-calculator.specs.js (apart from adding a .gitattributes file and this README.)

Below are some changes that I think would be of benefit (both dev and maintenance-wise) if the project was planned to get medium/big.

  • Add package managing, e.g. npm
  • Add development server, e.g. serve
  • Build js and remove inline js, e.g. babel/browserify
  • Convert to ES6 and use transpiler, e.g. babel
  • Add linting
  • Build test runner page, e.g. mocha reporter "doc"
  • Add rules engine for business logic flexibility

About

Tech test for Stagecast


Languages

Language:JavaScript 97.0%Language:CSS 2.3%Language:HTML 0.7%