Calculates real time costs of resources with hourly rates
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.vscode
CostOMeter.Web.Tests
CostOMeter.Web
EnvironmentConfigs
.gitignore
CostOMeter.sln
LICENSE
ProjectLayout.txt
README.md
publish.bat
webpack_watch.bat

README.md

cost-o-meter

Calculates and displays costs in real time for resources with hourly rates. Load presets from api. Save your own configurations to json.

Built this just to explore the tech.

Live at: https://granaker.se/costometer

Built with

Notes

  • Markup references /wwwroot/out/ dir for .js, .map and .tag files.
  • VS Code task 'webpack watch' starts webpack in background to watch for changes in /transpiled dir and packs it to /wwwroot/out/ dir.
  • VS Code task 'buildTs' transpiles TypeScript files in /wwwroot/src/ and /test to /transpiled dir. It also copies RiotJS .tag files to /wwwroot/out dir.
  • Launch configuratiuon 'Run Mocha' runs task 'buildTs' and then runs Mocha for tests in /transpiled dir.

Todo

  • Install Istanbul to generate code coverage
  • Refactor out logic from RiotJS tags