Skip to content

grankko/costometer

Repository files navigation

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://costometer.granaker.se/

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

About

Calculates real time costs of resources with hourly rates

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published